Class: BriteAPI::IpAPIClient

Inherits:
APIClient show all
Defined in:
lib/brite-api/clients/ip_api_client.rb

Constant Summary collapse

API_HATH =
'/ips.json'

Constants inherited from APIClient

APIClient::API_HOST

Instance Method Summary collapse

Methods inherited from APIClient

#get, #initialize

Constructor Details

This class inherits a constructor from BriteAPI::APIClient

Instance Method Details

#verify(value) ⇒ Object



6
7
8
# File 'lib/brite-api/clients/ip_api_client.rb', line 6

def verify(value)
  get API_HOST + API_HATH, { :address => value }
end