Sha256: a0c9c61cf11f509ff6a6dbe80941ddb79172aa6ed0af976bbed2a55e258c941d

Contents?: true

Size: 777 Bytes

Versions: 5

Compression:

Stored size: 777 Bytes

Contents

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

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

      def credentials(sid=:unset)
        self.v1.credentials(sid)
      end

      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

5 entries across 5 versions & 1 rubygems

Version Path
twilio-ruby-5.0.0.rc26 lib/twilio-ruby/rest/notify.rb
twilio-ruby-5.0.0.rc25 lib/twilio-ruby/rest/notify.rb
twilio-ruby-5.0.0.rc24 lib/twilio-ruby/rest/notify.rb
twilio-ruby-5.0.0.rc23 lib/twilio-ruby/rest/notify.rb
twilio-ruby-5.0.0.rc22 lib/twilio-ruby/rest/notify.rb