Class: CallRecorderApi::Model::UpdateOrderRequestFolder

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(id, order_id) ⇒ UpdateOrderRequestFolder

Returns a new instance of UpdateOrderRequestFolder.



9
10
11
12
13
14
15
# File 'lib/call_recorder_api/model/update_order_request_folder.rb', line 9

def initialize(
    id,
    order_id
)
    @id = id
    @order_id = order_id
end

Instance Attribute Details

#idObject

Returns the value of attribute id.



6
7
8
# File 'lib/call_recorder_api/model/update_order_request_folder.rb', line 6

def id
  @id
end

#order_idObject

Returns the value of attribute order_id.



7
8
9
# File 'lib/call_recorder_api/model/update_order_request_folder.rb', line 7

def order_id
  @order_id
end

Instance Method Details

#to_sObject



17
18
19
20
21
22
# File 'lib/call_recorder_api/model/update_order_request_folder.rb', line 17

def to_s
    'UpdateOrderRequestFolder{' +
        'id=' + id.to_s + ', ' +
        'order_id=' + order_id.to_s +
    '}'
end