Class: Twilio::REST::Notify

Inherits:
NotifyBase show all
Defined in:
lib/twilio-ruby/rest/notify.rb,
lib/twilio-ruby/rest/notify/v1.rb,
lib/twilio-ruby/rest/notify/v1/service.rb,
lib/twilio-ruby/rest/notify/v1/credential.rb,
lib/twilio-ruby/rest/notify/v1/service/binding.rb,
lib/twilio-ruby/rest/notify/v1/service/notification.rb

Defined Under Namespace

Classes: V1

Instance Attribute Summary

Attributes inherited from Domain

#client

Instance Method Summary collapse

Methods inherited from NotifyBase

#initialize, #to_s, #v1

Methods inherited from Domain

#absolute_url, #initialize, #request

Constructor Details

This class inherits a constructor from Twilio::REST::NotifyBase

Instance Method Details

#credentials(sid = :unset) ⇒ Twilio::REST::Notify::V1::CredentialInstance, Twilio::REST::Notify::V1::CredentialList

Parameters:

  • sid (String) (defaults to: :unset)

    The unique string that we created to identify the Credential resource.

Returns:



9
10
11
12
# File 'lib/twilio-ruby/rest/notify.rb', line 9

def credentials(sid=:unset)
  warn "credentials is deprecated. Use v1.credentials instead."
  self.v1.credentials(sid)
end

#services(sid = :unset) ⇒ Twilio::REST::Notify::V1::ServiceInstance, Twilio::REST::Notify::V1::ServiceList

Parameters:

  • sid (String) (defaults to: :unset)

    The unique string that we created to identify the Service resource.

Returns:



19
20
21
22
# File 'lib/twilio-ruby/rest/notify.rb', line 19

def services(sid=:unset)
  warn "services is deprecated. Use v1.services instead."
  self.v1.services(sid)
end