Sha256: 316518b3d240f56188c4c34fe9b38468525a52836fbfadd0e5c2b17fac1f6f64

Contents?: true

Size: 832 Bytes

Versions: 11

Compression:

Stored size: 832 Bytes

Contents

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

module Twilio
  module REST
    class Notifications < Domain
      ##
      # Initialize the Notifications Domain
      def initialize(twilio)
        super
        
        @base_url = 'https://notifications.twilio.com'
        @host = 'notifications.twilio.com'
        @port = 443
        
        # Versions
        @v1 = nil
      end
      
      ##
      # Version v1 of notifications
      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::Notifications>'
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
twilio-ruby-5.0.0.rc16 lib/twilio-ruby/rest/notifications.rb
twilio-ruby-5.0.0.rc15 lib/twilio-ruby/rest/notifications.rb
twilio-ruby-5.0.0.rc14 lib/twilio-ruby/rest/notifications.rb
twilio-ruby-5.0.0.rc13 lib/twilio-ruby/rest/notifications.rb
twilio-ruby-5.0.0.rc12 lib/twilio-ruby/rest/notifications.rb
twilio-ruby-5.0.0.rc11 lib/twilio-ruby/rest/notifications.rb
twilio-ruby-5.0.0.rc10 lib/twilio-ruby/rest/notifications.rb
twilio-ruby-5.0.0.rc9 lib/twilio-ruby/rest/notifications.rb
twilio-ruby-5.0.0.rc8 lib/twilio-ruby/rest/notifications.rb
twilio-ruby-5.0.0.rc7 lib/twilio-ruby/rest/notifications.rb
twilio-ruby-5.0.0.rc5 lib/twilio-ruby/rest/notifications.rb