Module: Rack::App::InstanceMethods::Params
- Included in:
- Rack::App::InstanceMethods
- Defined in:
- lib/rack/app/instance_methods/params.rb
Constant Summary collapse
- E =
::Rack::App::Constants::ENV
Instance Method Summary collapse
Instance Method Details
#params ⇒ Object
5 6 7 |
# File 'lib/rack/app/instance_methods/params.rb', line 5 def params request.env[E::PARAMS].to_hash end |
#path_segments_params ⇒ Object
9 10 11 |
# File 'lib/rack/app/instance_methods/params.rb', line 9 def path_segments_params request.env[E::PARAMS].path_segments_params end |
#query_string_params ⇒ Object
13 14 15 |
# File 'lib/rack/app/instance_methods/params.rb', line 13 def query_string_params request.env[E::PARAMS].query_string_params end |