Class: ActionWebService::Protocol::SimpleActionPackRequest

Inherits:
ActionController::AbstractRequest
  • Object
show all
Defined in:
lib/action_web_service/protocol/abstract.rb

Overview

:nodoc:

Instance Method Summary collapse

Constructor Details

#initializeSimpleActionPackRequest

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 = {}
  @qparams = {}
  @rparams = {}
  @cookies = {}
  reset_session
end

Instance Method Details

#cookiesObject



99
100
101
# File 'lib/action_web_service/protocol/abstract.rb', line 99

def cookies
  @cookies
end

#envObject



91
92
93
# File 'lib/action_web_service/protocol/abstract.rb', line 91

def env
  @env
end

#hostObject



95
96
97
# File 'lib/action_web_service/protocol/abstract.rb', line 95

def host
  ''
end

#query_parametersObject



83
84
85
# File 'lib/action_web_service/protocol/abstract.rb', line 83

def query_parameters
  @qparams
end

#request_parametersObject



87
88
89
# File 'lib/action_web_service/protocol/abstract.rb', line 87

def request_parameters
  @rparams
end

#reset_sessionObject



107
108
109
# File 'lib/action_web_service/protocol/abstract.rb', line 107

def reset_session
  @session = {}
end

#sessionObject



103
104
105
# File 'lib/action_web_service/protocol/abstract.rb', line 103

def session
  @session
end