Class: ActionWebService::Protocol::Request

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

Overview

:nodoc:

Instance Attribute Summary collapse

Instance Method Summary collapse

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, protocol_options=nil)
  @protocol = protocol
  @method_name = method_name
  @method_params = method_params
  @service_name = service_name
  @api = api
  @api_method = api_method
  @protocol_options = protocol_options || {}
end

Instance Attribute Details

#apiObject

Returns the value of attribute api.



48
49
50
# File 'lib/action_web_service/protocol/abstract.rb', line 48

def api
  @api
end

#api_methodObject

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_nameObject

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_paramsObject

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

#protocolObject (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_optionsObject (readonly)

Returns the value of attribute protocol_options.



50
51
52
# File 'lib/action_web_service/protocol/abstract.rb', line 50

def protocol_options
  @protocol_options
end

#service_nameObject (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