Class: Twilio::REST::Pricing
- Inherits:
-
PricingBase
show all
- Defined in:
- lib/twilio-ruby/rest/pricing.rb,
lib/twilio-ruby/rest/pricing/v1.rb,
lib/twilio-ruby/rest/pricing/v2.rb,
lib/twilio-ruby/rest/pricing/v1/voice.rb,
lib/twilio-ruby/rest/pricing/v2/voice.rb,
lib/twilio-ruby/rest/pricing/v2/number.rb,
lib/twilio-ruby/rest/pricing/v2/country.rb,
lib/twilio-ruby/rest/pricing/v1/messaging.rb,
lib/twilio-ruby/rest/pricing/v1/phone_number.rb,
lib/twilio-ruby/rest/pricing/v1/voice/number.rb,
lib/twilio-ruby/rest/pricing/v2/voice/number.rb,
lib/twilio-ruby/rest/pricing/v1/voice/country.rb,
lib/twilio-ruby/rest/pricing/v2/voice/country.rb,
lib/twilio-ruby/rest/pricing/v1/messaging/country.rb,
lib/twilio-ruby/rest/pricing/v1/phone_number/country.rb
Defined Under Namespace
Classes: V1, V2
Instance Attribute Summary
Attributes inherited from Domain
#client
Instance Method Summary
collapse
Methods inherited from PricingBase
#initialize, #to_s, #v1, #v2
Methods inherited from Domain
#absolute_url, #initialize, #request
Instance Method Details
30
31
32
33
|
# File 'lib/twilio-ruby/rest/pricing.rb', line 30
def countries(iso_country=:unset)
warn "countries is deprecated. Use v2.countries instead."
self.v2.countries(iso_country)
end
|
6
7
8
9
|
# File 'lib/twilio-ruby/rest/pricing.rb', line 6
def messaging
warn "messaging is deprecated. Use v1.messaging instead."
self.v1.messaging()
end
|
41
42
43
44
|
# File 'lib/twilio-ruby/rest/pricing.rb', line 41
def numbers(destination_number=:unset)
warn "numbers is deprecated. Use v2.numbers instead."
self.v2.numbers(destination_number)
end
|
13
14
15
16
|
# File 'lib/twilio-ruby/rest/pricing.rb', line 13
def phone_numbers
warn "phone_numbers is deprecated. Use v1.phone_numbers instead."
self.v1.phone_numbers()
end
|
20
21
22
23
|
# File 'lib/twilio-ruby/rest/pricing.rb', line 20
def voice
warn "voice is deprecated. Use v2.voice instead."
self.v2.voice()
end
|