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

Returns:

  • (Boolean)


228
# File 'lib/rack/request.rb', line 228

def get?;     request_method == GET     end