Class: Twilio::REST::Lookups
- Inherits:
-
LookupsBase
- Object
- Domain
- LookupsBase
- Twilio::REST::Lookups
- Defined in:
- lib/twilio-ruby/rest/lookups.rb,
lib/twilio-ruby/rest/lookups/v1.rb,
lib/twilio-ruby/rest/lookups/v2.rb,
lib/twilio-ruby/rest/lookups/v1/phone_number.rb,
lib/twilio-ruby/rest/lookups/v2/phone_number.rb
Defined Under Namespace
Instance Attribute Summary
Attributes inherited from Domain
Instance Method Summary collapse
Methods inherited from LookupsBase
#initialize, #to_s, #v1, #v2
Methods inherited from Domain
#absolute_url, #initialize, #request
Constructor Details
This class inherits a constructor from Twilio::REST::LookupsBase
Instance Method Details
#phone_numbers(phone_number = :unset) ⇒ Twilio::REST::Lookups::V1::PhoneNumberInstance, Twilio::REST::Lookups::V1::PhoneNumberList
10 11 12 13 |
# File 'lib/twilio-ruby/rest/lookups.rb', line 10 def phone_numbers(phone_number=:unset) warn "phone_numbers is deprecated. Use v1.phone_numbers instead." self.v1.phone_numbers(phone_number) end |