Class: Grape::Request

Inherits:
Rack::Request
  • Object
show all
Defined in:
lib/grape/request.rb

Constant Summary collapse

HTTP_PREFIX =
'HTTP_'.freeze

Instance Method Summary collapse

Instance Method Details

#headersObject


11
12
13
# File 'lib/grape/request.rb', line 11

def headers
  @headers ||= build_headers
end

#paramsObject


7
8
9
# File 'lib/grape/request.rb', line 7

def params
  @params ||= build_params
end

#rack_paramsObject


5
# File 'lib/grape/request.rb', line 5

alias rack_params params