Sha256: e23a70555121eac8529b5b60602d20750379735025ab14bb7a3d415621ff96de

Contents?: true

Size: 765 Bytes

Versions: 1

Compression:

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
twilio-ruby-5.0.0.rc4 lib/twilio-ruby/rest/notifications.rb