Class: ActionService::Protocol::ServiceResponseInfo

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(raw_body, content_type) ⇒ ServiceResponseInfo

Returns a new instance of ServiceResponseInfo.



54
55
56
57
# File 'lib/action_service/protocol/abstract.rb', line 54

def initialize(raw_body, content_type)
  @raw_body = raw_body
  @content_type = content_type
end

Instance Attribute Details

#content_typeObject (readonly)

Returns the value of attribute content_type.



52
53
54
# File 'lib/action_service/protocol/abstract.rb', line 52

def content_type
  @content_type
end

#raw_bodyObject (readonly)

Returns the value of attribute raw_body.



51
52
53
# File 'lib/action_service/protocol/abstract.rb', line 51

def raw_body
  @raw_body
end