Added iterface for Reader/Client.

It could use a better name.
This commit is contained in:
Gregory Oschwald committed 2013-10-02 06:54:03 -07:00
1 parent c584dbfd6b
commit 167433de0c
3 files changed
+38 -2

No files matched your search

+2 -1
View File
@@ -12,6 +12,7 @@ use GeoIp2\Model\City;
use GeoIp2\Model\CityIspOrg;
use GeoIp2\Model\Country;
use GeoIp2\Model\Omni;
use GeoIp2\ProviderInterface;
use Guzzle\Http\Client as GuzzleClient;
use Guzzle\Common\Exception\RuntimeException;
use Guzzle\Http\Exception\ClientErrorResponseException;
@@ -48,7 +49,7 @@ use Guzzle\Http\Exception\ServerErrorResponseException;
*
* If the request fails, the client class throws an exception.
*/
class Client
class Client implements ProviderInterface
{
private $userId;
private $licenseKey;