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) ⇒ ServiceRequestInfo

Returns a new instance of ServiceRequestInfo.



41
42
43
44
45
46
47
# File 'lib/action_service/protocol/abstract.rb', line 41

def initialize(service_name, public_method_name, raw_body, content_type, protocol_info)
  @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.



38
39
40
# File 'lib/action_service/protocol/abstract.rb', line 38

def content_type
  @content_type
end

#protocol_infoObject (readonly)

Returns the value of attribute protocol_info.



39
40
41
# File 'lib/action_service/protocol/abstract.rb', line 39

def protocol_info
  @protocol_info
end

#public_method_nameObject (readonly)

Returns the value of attribute public_method_name.



36
37
38
# File 'lib/action_service/protocol/abstract.rb', line 36

def public_method_name
  @public_method_name
end

#raw_bodyObject (readonly)

Returns the value of attribute raw_body.



37
38
39
# File 'lib/action_service/protocol/abstract.rb', line 37

def raw_body
  @raw_body
end

#service_nameObject (readonly)

Returns the value of attribute service_name.



35
36
37
# File 'lib/action_service/protocol/abstract.rb', line 35

def service_name
  @service_name
end