Method: Rack::Request::Helpers#put?
- Defined in:
- lib/rack/request.rb
#put? ⇒ Boolean
Checks the HTTP request method (or verb) to see if it was of type PUT
241 |
# File 'lib/rack/request.rb', line 241 def put?; request_method == PUT end |