Class: Plivo::Resources::Recording
Constant Summary
Constants included
from Utils
Utils::TYPE_WHITELIST
Instance Attribute Summary
#id
Instance Method Summary
collapse
Methods included from Utils
GetSortedQueryParamString?, compute_signatureV3?, expected_type?, expected_value?, generate_url?, getMapFromQueryString?, is_one_among_string_url?, multi_valid_param?, raise_invalid_request, valid_account?, valid_date_format?, valid_mainaccount?, valid_multiple_destination_integers?, valid_multiple_destination_nos?, valid_param?, valid_range?, valid_signature?, valid_signatureV3?, valid_subaccount?, valid_url?
Constructor Details
#initialize(client, options = nil) ⇒ Recording
5
6
7
8
9
10
|
# File 'lib/plivo/resources/recordings.rb', line 5
def initialize(client, options = nil)
@_name = 'Recording'
@_identifier_string = 'recording_id'
super
@_is_voice_request = true
end
|
Instance Method Details
#delete ⇒ Object
12
13
14
|
# File 'lib/plivo/resources/recordings.rb', line 12
def delete
perform_delete
end
|
#to_s ⇒ Object
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# File 'lib/plivo/resources/recordings.rb', line 16
def to_s
{
add_time: @add_time,
api_id: @api_id,
call_uuid: @call_uuid,
conference_name: @conference_name,
recording_duration_ms: @recording_duration_ms,
recording_end_ms: @recording_end_ms,
recording_format: @recording_format,
recording_id: @recording_id,
recording_start_ms: @recording_start_ms,
recording_type: @recording_type,
recording_url: @recording_url,
resource_uri: @resource_uri
}.to_s
end
|