class Twilio::REST::Video

Public Class Methods

new(twilio) click to toggle source

Initialize the Video Domain

Calls superclass method Twilio::REST::Domain::new
   # File lib/twilio-ruby/rest/video.rb
14 def initialize(twilio)
15   super
16 
17   @base_url = 'https://video.twilio.com'
18   @host = 'video.twilio.com'
19   @port = 443
20 
21   # Versions
22   @v1 = nil
23 end

Public Instance Methods

composition_hooks(sid=:unset) click to toggle source

@param [String] sid The unique string that we created to identify the

CompositionHook resource.

@return [Twilio::REST::Video::V1::CompositionHookInstance] if sid was passed. @return [Twilio::REST::Video::V1::CompositionHookList]

   # File lib/twilio-ruby/rest/video.rb
45 def composition_hooks(sid=:unset)
46   self.v1.composition_hooks(sid)
47 end
composition_settings() click to toggle source

@return [Twilio::REST::Video::V1::CompositionSettingsInstance]

   # File lib/twilio-ruby/rest/video.rb
51 def composition_settings
52   self.v1.composition_settings()
53 end
compositions(sid=:unset) click to toggle source

@param [String] sid The unique string that we created to identify the

Composition resource.

@return [Twilio::REST::Video::V1::CompositionInstance] if sid was passed. @return [Twilio::REST::Video::V1::CompositionList]

   # File lib/twilio-ruby/rest/video.rb
36 def compositions(sid=:unset)
37   self.v1.compositions(sid)
38 end
recording_settings() click to toggle source

@return [Twilio::REST::Video::V1::RecordingSettingsInstance]

   # File lib/twilio-ruby/rest/video.rb
66 def recording_settings
67   self.v1.recording_settings()
68 end
recordings(sid=:unset) click to toggle source

@param [String] sid The unique string that we created to identify the Recording

resource.

@return [Twilio::REST::Video::V1::RecordingInstance] if sid was passed. @return [Twilio::REST::Video::V1::RecordingList]

   # File lib/twilio-ruby/rest/video.rb
60 def recordings(sid=:unset)
61   self.v1.recordings(sid)
62 end
rooms(sid=:unset) click to toggle source

@param [String] sid The unique string that we created to identify the Room

resource.

@return [Twilio::REST::Video::V1::RoomInstance] if sid was passed. @return [Twilio::REST::Video::V1::RoomList]

   # File lib/twilio-ruby/rest/video.rb
75 def rooms(sid=:unset)
76   self.v1.rooms(sid)
77 end
to_s() click to toggle source

Provide a user friendly representation

   # File lib/twilio-ruby/rest/video.rb
81 def to_s
82   '#<Twilio::REST::Video>'
83 end
v1() click to toggle source

Version v1 of video

   # File lib/twilio-ruby/rest/video.rb
27 def v1
28   @v1 ||= V1.new self
29 end