Class: ActionWebService::Protocol::Response
- Inherits:
-
Object
- Object
- ActionWebService::Protocol::Response
- Defined in:
- lib/action_web_service/protocol/abstract.rb
Overview
:nodoc:
Instance Attribute Summary collapse
-
#body ⇒ Object
readonly
Returns the value of attribute body.
-
#content_type ⇒ Object
readonly
Returns the value of attribute content_type.
-
#return_value ⇒ Object
readonly
Returns the value of attribute return_value.
Instance Method Summary collapse
-
#initialize(body, content_type, return_value) ⇒ Response
constructor
A new instance of Response.
Constructor Details
#initialize(body, content_type, return_value) ⇒ Response
Returns a new instance of Response.
68 69 70 71 72 |
# File 'lib/action_web_service/protocol/abstract.rb', line 68 def initialize(body, content_type, return_value) @body = body @content_type = content_type @return_value = return_value end |
Instance Attribute Details
#body ⇒ Object (readonly)
Returns the value of attribute body.
64 65 66 |
# File 'lib/action_web_service/protocol/abstract.rb', line 64 def body @body end |
#content_type ⇒ Object (readonly)
Returns the value of attribute content_type.
65 66 67 |
# File 'lib/action_web_service/protocol/abstract.rb', line 65 def content_type @content_type end |
#return_value ⇒ Object (readonly)
Returns the value of attribute return_value.
66 67 68 |
# File 'lib/action_web_service/protocol/abstract.rb', line 66 def return_value @return_value end |