Sha256: 52c7034a6c8070647786cee85360c55fd4ea4c3c9b76a1500970a4b71ca0d1cd

Contents?: true

Size: 790 Bytes

Versions: 2

Compression:

Stored size: 790 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
        self.v1.credentials
      end
      
      def services
        self.v1.services
      end
      
      ##
      # Provide a user friendly representation
      def to_s
        '#<Twilio::REST::Notify>'
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
twilio-ruby-5.0.0.rc18 lib/twilio-ruby/rest/notify.rb
twilio-ruby-5.0.0.rc17 lib/twilio-ruby/rest/notify.rb