Class: 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.
70 71 72 73 74 |
# File 'lib/action_web_service/protocol/abstract.rb', line 70 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.
66 67 68 |
# File 'lib/action_web_service/protocol/abstract.rb', line 66 def body @body end |
#content_type ⇒ Object (readonly)
Returns the value of attribute content_type.
67 68 69 |
# File 'lib/action_web_service/protocol/abstract.rb', line 67 def content_type @content_type end |
#return_value ⇒ Object (readonly)
Returns the value of attribute return_value.
68 69 70 |
# File 'lib/action_web_service/protocol/abstract.rb', line 68 def return_value @return_value end |