Class: RestServiceClient::ResponseWithError
- Defined in:
- lib/restserviceclient.rb
Instance Attribute Summary collapse
-
#message ⇒ Object
readonly
Returns the value of attribute message.
Attributes inherited from Response
#body, #headers, #result, #status
Instance Method Summary collapse
-
#initialize(status, headers, body, result, message) ⇒ ResponseWithError
constructor
A new instance of ResponseWithError.
Constructor Details
#initialize(status, headers, body, result, message) ⇒ ResponseWithError
Returns a new instance of ResponseWithError.
171 172 173 174 |
# File 'lib/restserviceclient.rb', line 171 def initialize(status, headers, body, result, ) super(status, headers, body, result) @message = end |
Instance Attribute Details
#message ⇒ Object (readonly)
Returns the value of attribute message.
170 171 172 |
# File 'lib/restserviceclient.rb', line 170 def @message end |