Sha256: ff816b304f84690b8543e617424b2609a2ad7fd740e9430e65f4bc5009ab0a0b

Contents?: true

Size: 1.59 KB

Versions: 54

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

54 entries across 54 versions & 2 rubygems

Version Path
twilio-ruby-6.4.0 lib/twilio-ruby/rest/events.rb
twilio-ruby-6.3.1 lib/twilio-ruby/rest/events.rb
twilio-ruby-6.3.0 lib/twilio-ruby/rest/events.rb
twilio-ruby-6.2.0 lib/twilio-ruby/rest/events.rb
twilio-ruby-6.1.0 lib/twilio-ruby/rest/events.rb
twilio-ruby-6.0.2 lib/twilio-ruby/rest/events.rb
whoosh-ruby-0.1.4 lib/twilio-ruby/rest/events.rb
whoosh-ruby-0.1.2 lib/twilio-ruby/rest/events.rb
twilio-ruby-6.0.1 lib/twilio-ruby/rest/events.rb
whoosh-ruby-0.1.1 lib/twilio-ruby/rest/events.rb
twilio-ruby-6.0.0 lib/twilio-ruby/rest/events.rb
twilio-ruby-6.0.0.pre.rc.3 lib/twilio-ruby/rest/events.rb
twilio-ruby-6.0.0.pre.rc.2 lib/twilio-ruby/rest/events.rb
twilio-ruby-6.0.0.pre.rc.1 lib/twilio-ruby/rest/events.rb