Class: ActionService::Protocol::ServiceRequestInfo

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(service_name, public_method_name, raw_body, content_type, protocol_info = nil) ⇒ ServiceRequestInfo

Returns a new instance of ServiceRequestInfo.



74
75
76
77
78
79
80
# File 'lib/action_service/protocol/abstract.rb', line 74

def initialize(service_name, public_method_name, raw_body, content_type, protocol_info=nil)
  @service_name = service_name
  @public_method_name = public_method_name
  @raw_body = raw_body
  @content_type = content_type
  @protocol_info = protocol_info
end

Instance Attribute Details

#content_typeObject (readonly)

Returns the value of attribute content_type.



71
72
73
# File 'lib/action_service/protocol/abstract.rb', line 71

def content_type
  @content_type
end

#protocol_infoObject (readonly)

Returns the value of attribute protocol_info.



72
73
74
# File 'lib/action_service/protocol/abstract.rb', line 72

def protocol_info
  @protocol_info
end

#public_method_nameObject (readonly)

Returns the value of attribute public_method_name.



69
70
71
# File 'lib/action_service/protocol/abstract.rb', line 69

def public_method_name
  @public_method_name
end

#raw_bodyObject (readonly)

Returns the value of attribute raw_body.



70
71
72
# File 'lib/action_service/protocol/abstract.rb', line 70

def raw_body
  @raw_body
end

#service_nameObject (readonly)

Returns the value of attribute service_name.



68
69
70
# File 'lib/action_service/protocol/abstract.rb', line 68

def service_name
  @service_name
end