Flowdock
method

name_from_code

Importance_0
v6.1.3.1 - Show latest stable - 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 42
      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.