Class: Twilio::REST::Trunking::V1::TrunkContext::RecordingList

Inherits:
ListResource
  • Object
show all
Defined in:
lib/twilio-ruby/rest/trunking/v1/trunk/recording.rb

Instance Method Summary collapse

Constructor Details

#initialize(version, trunk_sid: nil) ⇒ RecordingList

Initialize the RecordingList

Parameters:

  • version (Version)

    Version that contains the resource

  • trunk_sid (String) (defaults to: nil)

    The unique string that we created to identify the Trunk resource.


21
22
23
24
25
26
# File 'lib/twilio-ruby/rest/trunking/v1/trunk/recording.rb', line 21

def initialize(version, trunk_sid: nil)
  super(version)

  # Path Solution
  @solution = {trunk_sid: trunk_sid}
end

Instance Method Details

#to_sObject

Provide a user friendly representation


30
31
32
# File 'lib/twilio-ruby/rest/trunking/v1/trunk/recording.rb', line 30

def to_s
  '#<Twilio.Trunking.V1.RecordingList>'
end