Module: PhoneNumberClient

Includes:
HTTParty
Defined in:
lib/phonenumber-client.rb

Class Method Summary collapse

Class Method Details

.phone_number(number, country_code) ⇒ Object



8
9
10
# File 'lib/phonenumber-client.rb', line 8

def self.phone_number number, country_code
  get('/', :query => { :number => number, :country_code => country_code }).parsed_response
end