class Twilio::REST::Trunking::V1::TrunkContext::RecordingList

Public Class Methods

new(version, trunk_sid: nil) click to toggle source

Initialize the RecordingList @param [Version] version Version that contains the resource @param [String] trunk_sid The unique string that we created to identify the

Trunk resource.

@return [RecordingList] RecordingList

Calls superclass method Twilio::REST::ListResource::new
   # File lib/twilio-ruby/rest/trunking/v1/trunk/recording.rb
21 def initialize(version, trunk_sid: nil)
22   super(version)
23 
24   # Path Solution
25   @solution = {trunk_sid: trunk_sid}
26 end

Public Instance Methods

to_s() click to toggle source

Provide a user friendly representation

   # File lib/twilio-ruby/rest/trunking/v1/trunk/recording.rb
30 def to_s
31   '#<Twilio.Trunking.V1.RecordingList>'
32 end