Sha256: ef4481a5b2d33ffa68a59ea22c36fb3e422b8aaeca9e7704b390907692770676

Contents?: true

Size: 1.32 KB

Versions: 28

Compression:

Stored size: 1.32 KB

Contents

module Twilio
  module REST
    class Media < MediaBase
      ##
      # @param [String] sid The unique string generated to identify the MediaProcessor
      #   resource.
      # @return [Twilio::REST::Media::V1::MediaProcessorInstance] if sid was passed.
      # @return [Twilio::REST::Media::V1::MediaProcessorList]
      def media_processor(sid=:unset)
        warn "media_processor is deprecated. Use v1.media_processor instead."
        self.v1.media_processor(sid)
      end

      ##
      # @param [String] sid The unique string generated to identify the MediaRecording
      #   resource.
      # @return [Twilio::REST::Media::V1::MediaRecordingInstance] if sid was passed.
      # @return [Twilio::REST::Media::V1::MediaRecordingList]
      def media_recording(sid=:unset)
        warn "media_recording is deprecated. Use v1.media_recording instead."
        self.v1.media_recording(sid)
      end

      ##
      # @param [String] sid The unique string generated to identify the PlayerStreamer
      #   resource.
      # @return [Twilio::REST::Media::V1::PlayerStreamerInstance] if sid was passed.
      # @return [Twilio::REST::Media::V1::PlayerStreamerList]
      def player_streamer(sid=:unset)
        warn "player_streamer is deprecated. Use v1.player_streamer instead."
        self.v1.player_streamer(sid)
      end
    end
  end
end

Version data entries

28 entries across 28 versions & 2 rubygems

Version Path
twilio-ruby-7.0.0.pre.rc.3 lib/twilio-ruby/rest/media.rb
twilio-ruby-7.0.0.pre.rc.2 lib/twilio-ruby/rest/media.rb
twilio-ruby-7.0.0.pre.rc.1 lib/twilio-ruby/rest/media.rb
twilio-ruby-6.9.1 lib/twilio-ruby/rest/media.rb
twilio-ruby-6.9.0 lib/twilio-ruby/rest/media.rb
twilio-ruby-6.8.3 lib/twilio-ruby/rest/media.rb
twilio-ruby-6.8.2 lib/twilio-ruby/rest/media.rb
twilio-ruby-6.8.1 lib/twilio-ruby/rest/media.rb
twilio-ruby-6.8.0 lib/twilio-ruby/rest/media.rb
twilio-ruby-6.7.1 lib/twilio-ruby/rest/media.rb
twilio-ruby-6.7.0 lib/twilio-ruby/rest/media.rb
twilio-ruby-6.6.0 lib/twilio-ruby/rest/media.rb
whoosh-ruby-0.1.5 lib/twilio-ruby/rest/media.rb
twilio-ruby-6.5.0 lib/twilio-ruby/rest/media.rb
twilio-ruby-6.4.0 lib/twilio-ruby/rest/media.rb
twilio-ruby-6.3.1 lib/twilio-ruby/rest/media.rb
twilio-ruby-6.3.0 lib/twilio-ruby/rest/media.rb
twilio-ruby-6.2.0 lib/twilio-ruby/rest/media.rb
twilio-ruby-6.1.0 lib/twilio-ruby/rest/media.rb
twilio-ruby-6.0.2 lib/twilio-ruby/rest/media.rb