Sha256: 6878db203ea94045f514788b4f7e2f967d5eb0d737919bfaa89279b753271d2e
Contents?: true
Size: 1.14 KB
Versions: 1
Compression:
Stored size: 1.14 KB
Contents
## # This code was generated by # \ / _ _ _| _ _ # | (_)\/(_)(_|\/| |(/_ v1.0.0 # / / # # frozen_string_literal: true module Twilio module REST class Events < Domain ## # Initialize the Events Domain def initialize(twilio) super @base_url = 'https://events.twilio.com' @host = 'events.twilio.com' @port = 443 # Versions @v1 = nil end ## # Version v1 of events def v1 @v1 ||= V1.new self end ## # @param [String] sid The sid # @return [Twilio::REST::Events::V1::SinkInstance] if sid was passed. # @return [Twilio::REST::Events::V1::SinkList] def sinks(sid=:unset) self.v1.sinks(sid) end ## # @param [String] sid The sid # @return [Twilio::REST::Events::V1::SubscriptionInstance] if sid was passed. # @return [Twilio::REST::Events::V1::SubscriptionList] def subscriptions(sid=:unset) self.v1.subscriptions(sid) end ## # Provide a user friendly representation def to_s '#<Twilio::REST::Events>' end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
twilio-ruby-5.40.0 | lib/twilio-ruby/rest/events.rb |