method

code_from_name

Importance_0
Ruby on Rails latest stable (v7.1.3.2) - 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.status_code(name)
      end
Register or log in to add new notes.