lib/twilio-ruby/rest/lookups/v1.rb in twilio-ruby-5.21.2 vs lib/twilio-ruby/rest/lookups/v1.rb in twilio-ruby-5.22.0
- old
+ new
@@ -17,10 +17,12 @@
@version = 'v1'
@phone_numbers = nil
end
##
- # @param [String] phone_number The phone_number
+ # @param [String] phone_number The phone number to lookup in
+ # [E.164](https://www.twilio.com/docs/glossary/what-e164) format, which consists
+ # of a + followed by the country code and subscriber number.
# @return [Twilio::REST::Lookups::V1::PhoneNumberContext] if phone_number was passed.
# @return [Twilio::REST::Lookups::V1::PhoneNumberList]
def phone_numbers(phone_number=:unset)
if phone_number.nil?
raise ArgumentError, 'phone_number cannot be nil'
\ No newline at end of file