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.
52 53 54 55 56 57 58 59 60 |
# File 'lib/action_web_service/protocol/abstract.rb', line 52 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.
48 49 50 |
# File 'lib/action_web_service/protocol/abstract.rb', line 48 def api @api end |
#api_method ⇒ Object
Returns the value of attribute api_method.
49 50 51 |
# File 'lib/action_web_service/protocol/abstract.rb', line 49 def api_method @api_method end |
#method_name ⇒ Object
Returns the value of attribute method_name.
45 46 47 |
# File 'lib/action_web_service/protocol/abstract.rb', line 45 def method_name @method_name end |
#method_params ⇒ Object
Returns the value of attribute method_params.
46 47 48 |
# File 'lib/action_web_service/protocol/abstract.rb', line 46 def method_params @method_params end |
#protocol ⇒ Object (readonly)
Returns the value of attribute protocol.
44 45 46 |
# File 'lib/action_web_service/protocol/abstract.rb', line 44 def protocol @protocol end |
#protocol_options ⇒ Object (readonly)
Returns the value of attribute protocol_options.
50 51 52 |
# File 'lib/action_web_service/protocol/abstract.rb', line 50 def @protocol_options end |
#service_name ⇒ Object (readonly)
Returns the value of attribute service_name.
47 48 49 |
# File 'lib/action_web_service/protocol/abstract.rb', line 47 def service_name @service_name end |