Class: Lotus::Action::Request
- Inherits:
-
Rack::Request
- Object
- Rack::Request
- Lotus::Action::Request
- Defined in:
- lib/lotus/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.
65 66 67 |
# File 'lib/lotus/action/request.rb', line 65 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.
73 74 75 |
# File 'lib/lotus/action/request.rb', line 73 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.
17 18 19 |
# File 'lib/lotus/action/request.rb', line 17 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.
33 34 35 |
# File 'lib/lotus/action/request.rb', line 33 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.
57 58 59 |
# File 'lib/lotus/action/request.rb', line 57 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.
41 42 43 |
# File 'lib/lotus/action/request.rb', line 41 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.
25 26 27 |
# File 'lib/lotus/action/request.rb', line 25 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.
49 50 51 |
# File 'lib/lotus/action/request.rb', line 49 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.
81 82 83 |
# File 'lib/lotus/action/request.rb', line 81 def values_at(*) raise NotImplementedError, 'Please use params passed to Action#call' end |