Class: CallRecorderApi::Model::UpdateDeviceTokenResponse
- Inherits:
-
Object
- Object
- CallRecorderApi::Model::UpdateDeviceTokenResponse
- Defined in:
- lib/call_recorder_api/model/update_device_token_response.rb
Instance Attribute Summary collapse
-
#msg ⇒ Object
Returns the value of attribute msg.
-
#status ⇒ Object
Returns the value of attribute status.
Instance Method Summary collapse
-
#initialize(status, msg) ⇒ UpdateDeviceTokenResponse
constructor
A new instance of UpdateDeviceTokenResponse.
- #to_s ⇒ Object
Constructor Details
#initialize(status, msg) ⇒ UpdateDeviceTokenResponse
Returns a new instance of UpdateDeviceTokenResponse.
9 10 11 12 13 14 15 |
# File 'lib/call_recorder_api/model/update_device_token_response.rb', line 9 def initialize( status, msg ) @status = status @msg = msg end |
Instance Attribute Details
#msg ⇒ Object
Returns the value of attribute msg.
7 8 9 |
# File 'lib/call_recorder_api/model/update_device_token_response.rb', line 7 def msg @msg end |
#status ⇒ Object
Returns the value of attribute status.
6 7 8 |
# File 'lib/call_recorder_api/model/update_device_token_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/update_device_token_response.rb', line 17 def to_s 'UpdateDeviceTokenResponse{' + 'status=' + status.to_s + ', ' + 'msg=' + msg.to_s + '}' end |