Class: ActionService::Protocol::ServiceResponseInfo
- Inherits:
-
Object
- Object
- ActionService::Protocol::ServiceResponseInfo
- Defined in:
- lib/action_service/protocol/abstract.rb
Instance Attribute Summary collapse
-
#content_type ⇒ Object
readonly
Returns the value of attribute content_type.
-
#raw_body ⇒ Object
readonly
Returns the value of attribute raw_body.
Instance Method Summary collapse
-
#initialize(raw_body, content_type) ⇒ ServiceResponseInfo
constructor
A new instance of ServiceResponseInfo.
Constructor Details
#initialize(raw_body, content_type) ⇒ ServiceResponseInfo
Returns a new instance of ServiceResponseInfo.
87 88 89 90 |
# File 'lib/action_service/protocol/abstract.rb', line 87 def initialize(raw_body, content_type) @raw_body = raw_body @content_type = content_type end |
Instance Attribute Details
#content_type ⇒ Object (readonly)
Returns the value of attribute content_type.
85 86 87 |
# File 'lib/action_service/protocol/abstract.rb', line 85 def content_type @content_type end |
#raw_body ⇒ Object (readonly)
Returns the value of attribute raw_body.
84 85 86 |
# File 'lib/action_service/protocol/abstract.rb', line 84 def raw_body @raw_body end |