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.



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, 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.



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

def api
  @api
end

#api_methodObject

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_nameObject

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_paramsObject

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

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

Returns the value of attribute protocol_options.



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

def protocol_options
  @protocol_options
end

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