Sha256: 4ed4adca44698bc28bfad1e53d5b0d32d8926ada6fadc4ab7e2266dc3f7e479f

Contents?: true

Size: 1.15 KB

Versions: 34

Compression:

Stored size: 1.15 KB

Contents

##
# This code was generated by
# \ / _    _  _|   _  _
#  | (_)\/(_)(_|\/| |(/_  v1.0.0
#       /       /
# 
# frozen_string_literal: true

module Twilio
  module REST
    class Notify < Domain
      ##
      # Initialize the Notify Domain
      def initialize(twilio)
        super

        @base_url = 'https://notify.twilio.com'
        @host = 'notify.twilio.com'
        @port = 443

        # Versions
        @v1 = nil
      end

      ##
      # Version v1 of notify
      def v1
        @v1 ||= V1.new self
      end

      ##
      # @param [String] sid The sid
      # @return [Twilio::REST::Notify::V1::CredentialInstance] if sid was passed.
      # @return [Twilio::REST::Notify::V1::CredentialList]
      def credentials(sid=:unset)
        self.v1.credentials(sid)
      end

      ##
      # @param [String] sid The sid
      # @return [Twilio::REST::Notify::V1::ServiceInstance] if sid was passed.
      # @return [Twilio::REST::Notify::V1::ServiceList]
      def services(sid=:unset)
        self.v1.services(sid)
      end

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

Version data entries

34 entries across 34 versions & 1 rubygems

Version Path
twilio-ruby-5.22.1 lib/twilio-ruby/rest/notify.rb
twilio-ruby-5.22.0 lib/twilio-ruby/rest/notify.rb
twilio-ruby-5.21.2 lib/twilio-ruby/rest/notify.rb
twilio-ruby-5.21.1 lib/twilio-ruby/rest/notify.rb
twilio-ruby-5.21.0 lib/twilio-ruby/rest/notify.rb
twilio-ruby-5.20.1 lib/twilio-ruby/rest/notify.rb
twilio-ruby-5.20.0 lib/twilio-ruby/rest/notify.rb
twilio-ruby-5.19.0 lib/twilio-ruby/rest/notify.rb
twilio-ruby-5.18.0 lib/twilio-ruby/rest/notify.rb
twilio-ruby-5.17.0 lib/twilio-ruby/rest/notify.rb
twilio-ruby-5.16.0 lib/twilio-ruby/rest/notify.rb
twilio-ruby-5.15.2 lib/twilio-ruby/rest/notify.rb
twilio-ruby-5.15.1 lib/twilio-ruby/rest/notify.rb
twilio-ruby-5.15.0 lib/twilio-ruby/rest/notify.rb
twilio-ruby-5.14.1 lib/twilio-ruby/rest/notify.rb
twilio-ruby-5.14.0 lib/twilio-ruby/rest/notify.rb
twilio-ruby-5.13.0 lib/twilio-ruby/rest/notify.rb
twilio-ruby-5.12.4 lib/twilio-ruby/rest/notify.rb
twilio-ruby-5.12.3 lib/twilio-ruby/rest/notify.rb
twilio-ruby-5.12.2 lib/twilio-ruby/rest/notify.rb