method

code_from_name

Importance_0
v6.1.7.7 - Show latest stable - 0 notes - Class: AssertionResponse
code_from_name(name) 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 38
      def code_from_name(name)
        GENERIC_RESPONSE_CODES[name] || Rack::Utils::SYMBOL_TO_STATUS_CODE[name]
      end
Register or log in to add new notes.