class TwilioLookups::REST::Lookups::PhoneNumbers
Public Instance Methods
get(number, query={})
click to toggle source
# File lib/twilio-lookups/rest/lookups/phone_numbers.rb 8 def get(number, query={}) 9 full_path = "#{@path}/#{URI.encode(number)}" 10 full_path << "?#{url_encode(twilify(query))}" if !query.empty? 11 @instance_class.new full_path, @client 12 end