Class: EepClient::ErrorResponse
- Defined in:
- lib/eep_client/response.rb
Constant Summary
Constants inherited from Response
Response::ID, Response::MESSAGE, Response::MESSAGES, Response::OK, Response::STATUS
Instance Attribute Summary collapse
-
#messages ⇒ Object
readonly
Returns the value of attribute messages.
Attributes inherited from Response
Instance Method Summary collapse
Methods inherited from Response
#initialize, mock_clear_ok, mock_event_ok, new_instance
Constructor Details
This class inherits a constructor from EepClient::Response
Instance Attribute Details
#messages ⇒ Object (readonly)
Returns the value of attribute messages.
44 45 46 |
# File 'lib/eep_client/response.rb', line 44 def @messages end |
Instance Method Details
#to_s ⇒ Object
45 46 47 |
# File 'lib/eep_client/response.rb', line 45 def to_s "#{self.class.name} status: #@status, err_messages: #{@messages.join(', ')}" end |