class TwilioLookups::REST::LookupsClient
Constants
- API_VERSION
Attributes
phone_numbers[R]
Protected Instance Methods
build_full_path(path, params, method)
click to toggle source
Builds up full request path
# File lib/twilio-lookups/rest/lookups_client.rb 91 def build_full_path(path, params, method) 92 path = path.dup 93 path << "?#{url_encode(params)}" if method == :get && !params.empty? 94 path 95 end
set_up_subresources()
click to toggle source
Set up phone_numbers
attribute.
# File lib/twilio-lookups/rest/lookups_client.rb 85 def set_up_subresources # :doc: 86 @phone_numbers = TwilioLookups::REST::Lookups::PhoneNumbers.new "/#{API_VERSION}/PhoneNumbers", self 87 end