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.
75 76 77 78 79 80 81 |
# File 'lib/action_web_service/protocol/abstract.rb', line 75 def initialize(env = {}) @env = env @qparams = {} @rparams = {} @cookies = {} reset_session end |
Instance Method Details
#cookies ⇒ Object
99 100 101 |
# File 'lib/action_web_service/protocol/abstract.rb', line 99 def @cookies end |
#env ⇒ Object
91 92 93 |
# File 'lib/action_web_service/protocol/abstract.rb', line 91 def env @env end |
#host ⇒ Object
95 96 97 |
# File 'lib/action_web_service/protocol/abstract.rb', line 95 def host '' end |
#query_parameters ⇒ Object
83 84 85 |
# File 'lib/action_web_service/protocol/abstract.rb', line 83 def query_parameters @qparams end |
#request_parameters ⇒ Object
87 88 89 |
# File 'lib/action_web_service/protocol/abstract.rb', line 87 def request_parameters @rparams end |
#reset_session ⇒ Object
107 108 109 |
# File 'lib/action_web_service/protocol/abstract.rb', line 107 def reset_session @session = {} end |
#session ⇒ Object
103 104 105 |
# File 'lib/action_web_service/protocol/abstract.rb', line 103 def session @session end |