Class: EepClient::OkResponse
- 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
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#message ⇒ Object
readonly
Returns the value of attribute message.
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
#id ⇒ Object (readonly)
Returns the value of attribute id.
36 37 38 |
# File 'lib/eep_client/response.rb', line 36 def id @id end |
#message ⇒ Object (readonly)
Returns the value of attribute message.
36 37 38 |
# File 'lib/eep_client/response.rb', line 36 def @message end |
Instance Method Details
#to_s ⇒ Object
38 39 40 |
# File 'lib/eep_client/response.rb', line 38 def to_s "#{self.class.name} status: #@status, message: #@message, id: #@id" end |