Class: Twilio::REST::Messaging

Inherits:
MessagingBase show all
Defined in:
lib/twilio-ruby/rest/messaging.rb,
lib/twilio-ruby/rest/messaging/v1.rb,
lib/twilio-ruby/rest/messaging/v1/service.rb,
lib/twilio-ruby/rest/messaging/v1/usecase.rb,
lib/twilio-ruby/rest/messaging/v1/domain_certs.rb,
lib/twilio-ruby/rest/messaging/v1/deactivations.rb,
lib/twilio-ruby/rest/messaging/v1/domain_config.rb,
lib/twilio-ruby/rest/messaging/v1/external_campaign.rb,
lib/twilio-ruby/rest/messaging/v1/brand_registration.rb,
lib/twilio-ruby/rest/messaging/v1/service/short_code.rb,
lib/twilio-ruby/rest/messaging/v1/request_managed_cert.rb,
lib/twilio-ruby/rest/messaging/v1/service/alpha_sender.rb,
lib/twilio-ruby/rest/messaging/v1/service/phone_number.rb,
lib/twilio-ruby/rest/messaging/v1/tollfree_verification.rb,
lib/twilio-ruby/rest/messaging/v1/service/channel_sender.rb,
lib/twilio-ruby/rest/messaging/v1/service/us_app_to_person.rb,
lib/twilio-ruby/rest/messaging/v1/domain_config_messaging_service.rb,
lib/twilio-ruby/rest/messaging/v1/brand_registration/brand_vetting.rb,
lib/twilio-ruby/rest/messaging/v1/linkshortening_messaging_service.rb,
lib/twilio-ruby/rest/messaging/v1/service/us_app_to_person_usecase.rb,
lib/twilio-ruby/rest/messaging/v1/brand_registration/brand_registration_otp.rb,
lib/twilio-ruby/rest/messaging/v1/linkshortening_messaging_service_domain_association.rb

Defined Under Namespace

Classes: V1

Instance Attribute Summary

Attributes inherited from Domain

#client

Instance Method Summary collapse

Methods inherited from MessagingBase

#initialize, #to_s, #v1

Methods inherited from Domain

#absolute_url, #initialize, #request

Constructor Details

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

Instance Method Details

#brand_registrations(sid = :unset) ⇒ Twilio::REST::Messaging::V1::BrandRegistrationInstance, Twilio::REST::Messaging::V1::BrandRegistrationList

Parameters:

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

    The unique string to identify Brand Registration.

Returns:



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

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

#deactivationsTwilio::REST::Messaging::V1::DeactivationsInstance



15
16
17
18
# File 'lib/twilio-ruby/rest/messaging.rb', line 15

def deactivations
  warn "deactivations is deprecated. Use v1.deactivations instead."
  self.v1.deactivations()
end

#domain_certs(domain_sid = :unset) ⇒ Twilio::REST::Messaging::V1::DomainCertsInstance, Twilio::REST::Messaging::V1::DomainCertsList

Parameters:

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

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

Returns:



25
26
27
28
# File 'lib/twilio-ruby/rest/messaging.rb', line 25

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

#domain_config(domain_sid = :unset) ⇒ Twilio::REST::Messaging::V1::DomainConfigInstance, Twilio::REST::Messaging::V1::DomainConfigList

Parameters:

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

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

Returns:



35
36
37
38
# File 'lib/twilio-ruby/rest/messaging.rb', line 35

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

#external_campaignTwilio::REST::Messaging::V1::ExternalCampaignInstance



42
43
44
45
# File 'lib/twilio-ruby/rest/messaging.rb', line 42

def external_campaign
  warn "external_campaign is deprecated. Use v1.external_campaign instead."
  self.v1.external_campaign()
end

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

Parameters:

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

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

Returns:



52
53
54
55
# File 'lib/twilio-ruby/rest/messaging.rb', line 52

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

#tollfree_verifications(sid = :unset) ⇒ Twilio::REST::Messaging::V1::TollfreeVerificationInstance, Twilio::REST::Messaging::V1::TollfreeVerificationList

Parameters:

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

    The unique string to identify Tollfree Verification.

Returns:



61
62
63
64
# File 'lib/twilio-ruby/rest/messaging.rb', line 61

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

#usecasesTwilio::REST::Messaging::V1::UsecaseInstance



68
69
70
71
# File 'lib/twilio-ruby/rest/messaging.rb', line 68

def usecases
  warn "usecases is deprecated. Use v1.usecases instead."
  self.v1.usecases()
end