Class: ActionWebService::Protocol::Request
- Inherits:
-
Object
- Object
- ActionWebService::Protocol::Request
- Defined in:
- lib/action_web_service/protocol/abstract.rb
Overview
:nodoc:
Instance Attribute Summary collapse
-
#api ⇒ Object
Returns the value of attribute api.
-
#api_method ⇒ Object
Returns the value of attribute api_method.
-
#method_name ⇒ Object
Returns the value of attribute method_name.
-
#method_params ⇒ Object
Returns the value of attribute method_params.
-
#protocol ⇒ Object
readonly
Returns the value of attribute protocol.
-
#protocol_options ⇒ Object
readonly
Returns the value of attribute protocol_options.
-
#service_name ⇒ Object
readonly
Returns the value of attribute service_name.
Instance Method Summary collapse
-
#initialize(protocol, method_name, method_params, service_name, api = nil, api_method = nil, protocol_options = nil) ⇒ Request
constructor
A new instance of Request.
Constructor Details
#initialize(protocol, method_name, method_params, service_name, api = nil, api_method = nil, protocol_options = nil) ⇒ Request
Returns a new instance of Request.
51 52 53 54 55 56 57 58 59 |
# File 'lib/action_web_service/protocol/abstract.rb', line 51 def initialize(protocol, method_name, method_params, service_name, api=nil, api_method=nil, =nil) @protocol = protocol @method_name = method_name @method_params = method_params @service_name = service_name @api = api @api_method = api_method @protocol_options = || {} end |
Instance Attribute Details
#api ⇒ Object
Returns the value of attribute api.
47 48 49 |
# File 'lib/action_web_service/protocol/abstract.rb', line 47 def api @api end |
#api_method ⇒ Object
Returns the value of attribute api_method.
48 49 50 |
# File 'lib/action_web_service/protocol/abstract.rb', line 48 def api_method @api_method end |
#method_name ⇒ Object
Returns the value of attribute method_name.
44 45 46 |
# File 'lib/action_web_service/protocol/abstract.rb', line 44 def method_name @method_name end |
#method_params ⇒ Object
Returns the value of attribute method_params.
45 46 47 |
# File 'lib/action_web_service/protocol/abstract.rb', line 45 def method_params @method_params end |
#protocol ⇒ Object (readonly)
Returns the value of attribute protocol.
43 44 45 |
# File 'lib/action_web_service/protocol/abstract.rb', line 43 def protocol @protocol end |
#protocol_options ⇒ Object (readonly)
Returns the value of attribute protocol_options.
49 50 51 |
# File 'lib/action_web_service/protocol/abstract.rb', line 49 def @protocol_options end |
#service_name ⇒ Object (readonly)
Returns the value of attribute service_name.
46 47 48 |
# File 'lib/action_web_service/protocol/abstract.rb', line 46 def service_name @service_name end |