Class: ActionWebService::Protocol::SimpleActionPackRequest
- Inherits:
-
ActionDispatch::Request
- Object
- ActionDispatch::Request
- ActionWebService::Protocol::SimpleActionPackRequest
- Defined in:
- lib/action_web_service/protocol/abstract.rb
Overview
:nodoc:
Instance Method Summary collapse
- #cookies ⇒ Object
- #env ⇒ Object
- #host ⇒ Object
-
#initialize(env = {}) ⇒ SimpleActionPackRequest
constructor
A new instance of SimpleActionPackRequest.
- #query_parameters ⇒ Object
- #request_parameters ⇒ Object
- #reset_session ⇒ Object
- #session ⇒ Object
Constructor Details
#initialize(env = {}) ⇒ SimpleActionPackRequest
Returns a new instance of SimpleActionPackRequest.
78 79 80 81 82 83 84 |
# File 'lib/action_web_service/protocol/abstract.rb', line 78 def initialize(env = {}) @env = env @qparams = {} @rparams = {} @cookies = {} reset_session end |
Instance Method Details
#cookies ⇒ Object
102 103 104 |
# File 'lib/action_web_service/protocol/abstract.rb', line 102 def @cookies end |
#env ⇒ Object
94 95 96 |
# File 'lib/action_web_service/protocol/abstract.rb', line 94 def env @env end |
#host ⇒ Object
98 99 100 |
# File 'lib/action_web_service/protocol/abstract.rb', line 98 def host '' end |
#query_parameters ⇒ Object
86 87 88 |
# File 'lib/action_web_service/protocol/abstract.rb', line 86 def query_parameters @qparams end |
#request_parameters ⇒ Object
90 91 92 |
# File 'lib/action_web_service/protocol/abstract.rb', line 90 def request_parameters @rparams end |
#reset_session ⇒ Object
110 111 112 |
# File 'lib/action_web_service/protocol/abstract.rb', line 110 def reset_session @session = {} end |
#session ⇒ Object
106 107 108 |
# File 'lib/action_web_service/protocol/abstract.rb', line 106 def session @session end |