Sha256: ff816b304f84690b8543e617424b2609a2ad7fd740e9430e65f4bc5009ab0a0b

Contents?: true

Size: 1.59 KB

Versions: 47

Compression:

Stored size: 1.59 KB

Contents

module Twilio
  module REST
    class Events < EventsBase
      ##
      # @param [String] type A string that uniquely identifies this Event Type.
      # @return [Twilio::REST::Events::V1::EventTypeInstance] if type was passed.
      # @return [Twilio::REST::Events::V1::EventTypeList]
      def event_types(type=:unset)
        warn "event_types is deprecated. Use v1.event_types instead."
        self.v1.event_types(type)
      end

      ##
      # @param [String] id The unique identifier of the schema. Each schema can have
      #   multiple versions, that share the same id.
      # @return [Twilio::REST::Events::V1::SchemaInstance] if id was passed.
      # @return [Twilio::REST::Events::V1::SchemaList]
      def schemas(id=:unset)
        warn "schemas is deprecated. Use v1.schemas instead."
        self.v1.schemas(id)
      end

      ##
      # @param [String] sid A 34 character string that uniquely identifies this Sink.
      # @return [Twilio::REST::Events::V1::SinkInstance] if sid was passed.
      # @return [Twilio::REST::Events::V1::SinkList]
      def sinks(sid=:unset)
        warn "sinks is deprecated. Use v1.sinks instead."
        self.v1.sinks(sid)
      end

      ##
      # @param [String] sid A 34 character string that uniquely identifies this
      #   Subscription.
      # @return [Twilio::REST::Events::V1::SubscriptionInstance] if sid was passed.
      # @return [Twilio::REST::Events::V1::SubscriptionList]
      def subscriptions(sid=:unset)
        warn "subscriptions is deprecated. Use v1.subscriptions instead."
        self.v1.subscriptions(sid)
      end
    end
  end
end

Version data entries

47 entries across 47 versions & 2 rubygems

Version Path
twilio-ruby-7.3.6 lib/twilio-ruby/rest/events.rb
twilio-ruby-7.3.5 lib/twilio-ruby/rest/events.rb
twilio-ruby-7.3.4 lib/twilio-ruby/rest/events.rb
twilio-ruby-7.3.3 lib/twilio-ruby/rest/events.rb
twilio-ruby-7.3.2 lib/twilio-ruby/rest/events.rb
twilio-ruby-7.3.1 lib/twilio-ruby/rest/events.rb
twilio-ruby-7.3.0 lib/twilio-ruby/rest/events.rb
twilio-ruby-7.2.4 lib/twilio-ruby/rest/events.rb
twilio-ruby-7.2.3 lib/twilio-ruby/rest/events.rb
twilio-ruby-7.2.2 lib/twilio-ruby/rest/events.rb
twilio-ruby-7.2.1 lib/twilio-ruby/rest/events.rb
twilio-ruby-7.2.0 lib/twilio-ruby/rest/events.rb
twilio-ruby-7.1.1 lib/twilio-ruby/rest/events.rb
twilio-ruby-7.0.2 lib/twilio-ruby/rest/events.rb
twilio-ruby-7.0.1 lib/twilio-ruby/rest/events.rb
twilio-ruby-7.0.0 lib/twilio-ruby/rest/events.rb
twilio-ruby-7.0.0.pre.rc.3 lib/twilio-ruby/rest/events.rb
twilio-ruby-7.0.0.pre.rc.2 lib/twilio-ruby/rest/events.rb
twilio-ruby-6.12.1 lib/twilio-ruby/rest/events.rb
twilio-ruby-6.12.0 lib/twilio-ruby/rest/events.rb