Skip to content

Commit 5146a32

Browse files
author
Daniel Mackey
committed
Use #post, and include 'Lookups' in path for creating a lookup
The API docs provided use 'Lookups' as part of the path, and use the POST method.
1 parent 55138b7 commit 5146a32

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/telapi/carrier.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ def list(optional_params = {})
1515
end
1616

1717
# Returns a Telapi::Carrier object given a phone number
18-
# See http://www.telapi.com/docs/api/rest/carrier-services/carrier-lookup/
18+
# See http://docs.telapi.com/v2/docs/carrier-lookup
1919
def lookup(phone_number)
2020
opts = { :PhoneNumber => phone_number }
2121
response = Network.get(['Lookups','Carrier'], opts)

0 commit comments

Comments
 (0)