Added iterface for Reader/Client.

It could use a better name.
This commit is contained in:
Gregory Oschwald
2013-10-02 06:54:03 -07:00
parent c584dbfd6b
commit 167433de0c
3 changed files with 38 additions and 2 deletions
+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;