Class: Hanami::Action::Request
- Inherits:
-
Rack::Request
- Object
- Rack::Request
- Hanami::Action::Request
- Defined in:
- lib/hanami/action/request.rb
Overview
An HTTP request based on top of Rack::Request. This guarantees backwards compatibility with with Rack.
Instance Method Summary collapse
- #[] ⇒ Object private
- #[]= ⇒ Object private
- #content_type ⇒ Object private
- #cookies ⇒ Object private
- #delete_param ⇒ Object private
- #params ⇒ Object private
- #session ⇒ Object private
- #update_param ⇒ Object private
- #values_at ⇒ Object private
Instance Method Details
#[] ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
64 65 66 |
# File 'lib/hanami/action/request.rb', line 64 def [](*) raise NotImplementedError, 'Please use params passed to Action#call' end |
#[]= ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
72 73 74 |
# File 'lib/hanami/action/request.rb', line 72 def []=(*) raise NotImplementedError, 'Please use params passed to Action#call' end |
#content_type ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
16 17 18 |
# File 'lib/hanami/action/request.rb', line 16 def content_type raise NotImplementedError, 'Please use Action#content_type' end |
#cookies ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
32 33 34 |
# File 'lib/hanami/action/request.rb', line 32 def raise NotImplementedError, 'Please include Action::Cookies and use Action#cookies' end |
#delete_param ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
56 57 58 |
# File 'lib/hanami/action/request.rb', line 56 def delete_param(*) raise NotImplementedError, 'Please use params passed to Action#call' end |
#params ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
40 41 42 |
# File 'lib/hanami/action/request.rb', line 40 def params raise NotImplementedError, 'Please use params passed to Action#call' end |
#session ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
24 25 26 |
# File 'lib/hanami/action/request.rb', line 24 def session raise NotImplementedError, 'Please include Action::Session and use Action#session' end |
#update_param ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
48 49 50 |
# File 'lib/hanami/action/request.rb', line 48 def update_param(*) raise NotImplementedError, 'Please use params passed to Action#call' end |
#values_at ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
80 81 82 |
# File 'lib/hanami/action/request.rb', line 80 def values_at(*) raise NotImplementedError, 'Please use params passed to Action#call' end |