Skip to content

Commit

Permalink
remove setAddress
Browse files Browse the repository at this point in the history
RestDriver have address in it
on need to overwrite
  • Loading branch information
RTLer committed Jun 16, 2016
1 parent cc6e4fc commit 3ac67ea
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/Zarinpal.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ public function __construct($merchantID, DriverInterface $driver = null)
{
if (is_null($driver)) {
$driver = new RestDriver();
$driver->setAddress('https://www.zarinpal.com/pg/rest/WebGate/');
}
$this->merchantID = $merchantID;
$this->driver = $driver;
Expand Down

0 comments on commit 3ac67ea

Please sign in to comment.