Sha256: 95bff9c2b14a0c083fdc364f73f44202c570a98374953a6bda06ce3c9d77bd54

Contents?: true

Size: 976 Bytes

Versions: 4

Compression:

Stored size: 976 Bytes

Contents

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

module Twilio
  module REST
    class Notifications
      class V1 < Version
        ##
        # Initialize the V1 version of Notifications
        def initialize(domain)
          super
          @version = 'v1'
          @credentials = nil
          @services = nil
        end
        
        def credentials(sid=:unset)
          if sid == :unset
            @credentials ||= CredentialList.new self
          else
            CredentialContext.new(self, sid)
          end
        end
        
        def services(sid=:unset)
          if sid == :unset
            @services ||= ServiceList.new self
          else
            ServiceContext.new(self, sid)
          end
        end
        
        ##
        # Provide a user friendly representation
        def to_s
          #<Twilio::REST::Notifications::V1>
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
twilio-ruby-5.0.0.rc9 lib/twilio-ruby/rest/notifications/v1.rb
twilio-ruby-5.0.0.rc8 lib/twilio-ruby/rest/notifications/v1.rb
twilio-ruby-5.0.0.rc7 lib/twilio-ruby/rest/notifications/v1.rb
twilio-ruby-5.0.0.rc5 lib/twilio-ruby/rest/notifications/v1.rb