Sha256: 2f9e6b6ed8483597bbd6e9e3e12b0abfd0138bfbb7427164cbed34e5abc6c0af

Contents?: true

Size: 763 Bytes

Versions: 5

Compression:

Stored size: 763 Bytes

Contents

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

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

      def recordings(sid=:unset)
        self.v1.recordings(sid)
      end

      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

5 entries across 5 versions & 1 rubygems

Version Path
twilio-ruby-5.0.0.rc26 lib/twilio-ruby/rest/video.rb
twilio-ruby-5.0.0.rc25 lib/twilio-ruby/rest/video.rb
twilio-ruby-5.0.0.rc24 lib/twilio-ruby/rest/video.rb
twilio-ruby-5.0.0.rc23 lib/twilio-ruby/rest/video.rb
twilio-ruby-5.0.0.rc22 lib/twilio-ruby/rest/video.rb