Class: CallRecorderApi::Model::GetMessagesResponse
- Inherits:
-
Object
- Object
- CallRecorderApi::Model::GetMessagesResponse
- Defined in:
- lib/call_recorder_api/model/get_messages_response.rb
Instance Attribute Summary collapse
-
#msgs ⇒ Object
Returns the value of attribute msgs.
-
#status ⇒ Object
Returns the value of attribute status.
Instance Method Summary collapse
-
#initialize(status, msgs) ⇒ GetMessagesResponse
constructor
A new instance of GetMessagesResponse.
- #to_s ⇒ Object
Constructor Details
#initialize(status, msgs) ⇒ GetMessagesResponse
Returns a new instance of GetMessagesResponse.
9 10 11 12 13 14 15 |
# File 'lib/call_recorder_api/model/get_messages_response.rb', line 9 def initialize( status, msgs ) @status = status @msgs = msgs end |
Instance Attribute Details
#msgs ⇒ Object
Returns the value of attribute msgs.
7 8 9 |
# File 'lib/call_recorder_api/model/get_messages_response.rb', line 7 def msgs @msgs end |
#status ⇒ Object
Returns the value of attribute status.
6 7 8 |
# File 'lib/call_recorder_api/model/get_messages_response.rb', line 6 def status @status end |
Instance Method Details
#to_s ⇒ Object
17 18 19 20 21 22 |
# File 'lib/call_recorder_api/model/get_messages_response.rb', line 17 def to_s 'GetMessagesResponse{' + 'status=' + status.to_s + ', ' + 'msgs=' + msgs.to_s + '}' end |