Sha256: 95b24b9e724a7b9895d252943c25b416b418891953f480cc58b03d6ec8e7bed9

Contents?: true

Size: 729 Bytes

Versions: 3

Compression:

Stored size: 729 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
        self.v1.recordings
      end

      def rooms
        self.v1.rooms
      end

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
twilio-ruby-5.0.0.rc21 lib/twilio-ruby/rest/video.rb
twilio-ruby-5.0.0.rc20 lib/twilio-ruby/rest/video.rb
twilio-ruby-5.0.0.rc19 lib/twilio-ruby/rest/video.rb