Flowdock
method

name_from_code

Importance_0
Ruby on Rails latest stable (v5.2.3) - 0 notes - Class: AssertionResponse
name_from_code(code) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionpack/lib/action_dispatch/testing/assertion_response.rb, line 43
      def name_from_code(code)
        GENERIC_RESPONSE_CODES.invert[code] || Rack::Utils::HTTP_STATUS_CODES[code]
      end
Register or log in to add new notes.