Class: ActionWebService::Protocol::SimpleActionPackRequest
- Inherits:
-
ActionController::Request
- Object
- ActionController::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.
76 77 78 79 80 81 82 |
# File 'lib/action_web_service/protocol/abstract.rb', line 76 def initialize(env = {}) @env = env @qparams = {} @rparams = {} @cookies = {} reset_session end |
Instance Method Details
#cookies ⇒ Object
100 101 102 |
# File 'lib/action_web_service/protocol/abstract.rb', line 100 def @cookies end |
#env ⇒ Object
92 93 94 |
# File 'lib/action_web_service/protocol/abstract.rb', line 92 def env @env end |
#host ⇒ Object
96 97 98 |
# File 'lib/action_web_service/protocol/abstract.rb', line 96 def host '' end |
#query_parameters ⇒ Object
84 85 86 |
# File 'lib/action_web_service/protocol/abstract.rb', line 84 def query_parameters @qparams end |
#request_parameters ⇒ Object
88 89 90 |
# File 'lib/action_web_service/protocol/abstract.rb', line 88 def request_parameters @rparams end |
#reset_session ⇒ Object
108 109 110 |
# File 'lib/action_web_service/protocol/abstract.rb', line 108 def reset_session @session = {} end |
#session ⇒ Object
104 105 106 |
# File 'lib/action_web_service/protocol/abstract.rb', line 104 def session @session end |