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