Class: Grape::Request
- Inherits:
-
Rack::Request
- Object
- Rack::Request
- Grape::Request
- Defined in:
- lib/grape/request.rb
Constant Summary collapse
- HTTP_PREFIX =
'HTTP_'
Instance Method Summary collapse
- #headers ⇒ Object
-
#initialize(env, options = {}) ⇒ Request
constructor
A new instance of Request.
- #params ⇒ Object
- #rack_params ⇒ Object
Constructor Details
Instance Method Details
#headers ⇒ Object
18 19 20 |
# File 'lib/grape/request.rb', line 18 def headers @headers ||= build_headers end |
#params ⇒ Object
14 15 16 |
# File 'lib/grape/request.rb', line 14 def params @params ||= build_params end |
#rack_params ⇒ Object
7 |
# File 'lib/grape/request.rb', line 7 alias rack_params params |