Class: CallRecorderApi::Model::GetMessagesResponse

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

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#msgsObject

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

#statusObject

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_sObject



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