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