Class: CallRecorderApi::Model::UpdateDeviceTokenResponse

Inherits:
Object
  • Object
show all
Defined in:
lib/call_recorder_api/model/update_device_token_response.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#msgObject

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

#statusObject

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_sObject



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