Sha256: ab307a395fbe73bbd43cedae3568d3bfeb4b69783bdb13a31a1fd0be44f0ff22

Contents?: true

Size: 1.96 KB

Versions: 8

Compression:

Stored size: 1.96 KB

Contents

##
# This code was generated by
# \ / _    _  _|   _  _
#  | (_)\/(_)(_|\/| |(/_  v1.0.0
#       /       /
# 
# frozen_string_literal: true

module Twilio
  module REST
    class Video < Domain
      ##
      # Initialize the Video Domain
      def initialize(twilio)
        super

        @base_url = 'https://video.twilio.com'
        @host = 'video.twilio.com'
        @port = 443

        # Versions
        @v1 = nil
      end

      ##
      # Version v1 of video
      def v1
        @v1 ||= V1.new self
      end

      ##
      # @return [Twilio::REST::Video::V1::CompositionSettingsInstance]
      def composition_settings
        self.v1.composition_settings()
      end

      ##
      # @param [String] sid `RTxx…xx` A system-generated 34-character string that
      #   uniquely identifies this Recording.
      # @return [Twilio::REST::Video::V1::RecordingInstance] if sid was passed.
      # @return [Twilio::REST::Video::V1::RecordingList]
      def recordings(sid=:unset)
        self.v1.recordings(sid)
      end

      ##
      # @return [Twilio::REST::Video::V1::RecordingSettingsInstance]
      def recording_settings
        self.v1.recording_settings()
      end

      ##
      # @param [String] sid `CJxx…xx` A system-generated 34-character string that
      #   uniquely identifies this Composition.
      # @return [Twilio::REST::Video::V1::CompositionInstance] if sid was passed.
      # @return [Twilio::REST::Video::V1::CompositionList]
      def compositions(sid=:unset)
        self.v1.compositions(sid)
      end

      ##
      # @param [String] sid A system-generated 34-character string that uniquely
      #   identifies this resource.
      # @return [Twilio::REST::Video::V1::RoomInstance] if sid was passed.
      # @return [Twilio::REST::Video::V1::RoomList]
      def rooms(sid=:unset)
        self.v1.rooms(sid)
      end

      ##
      # Provide a user friendly representation
      def to_s
        '#<Twilio::REST::Video>'
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
twilio-ruby-5.13.0 lib/twilio-ruby/rest/video.rb
twilio-ruby-5.12.4 lib/twilio-ruby/rest/video.rb
twilio-ruby-5.12.3 lib/twilio-ruby/rest/video.rb
twilio-ruby-5.12.1 lib/twilio-ruby/rest/video.rb
twilio-ruby-5.12.0 lib/twilio-ruby/rest/video.rb
twilio-ruby-5.11.1 lib/twilio-ruby/rest/video.rb
twilio-ruby-5.11.0 lib/twilio-ruby/rest/video.rb
twilio-ruby-5.10.6 lib/twilio-ruby/rest/video.rb