Flowdock
method

check_method

Importance_0
Ruby on Rails latest stable (v4.1.8) - 0 notes - Class: ActionDispatch::Request
check_method(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/http/request.rb, line 317
      def check_method(name)
        HTTP_METHOD_LOOKUP[name] || raise(ActionController::UnknownHttpMethod, "#{name}, accepted HTTP methods are #{HTTP_METHODS[0...-1].join(', ')}, and #{HTTP_METHODS[-1]}")
        name
      end
Register or log in to add new notes.