Skip to content
This repository has been archived by the owner on Oct 30, 2020. It is now read-only.

Commit

Permalink
Adds guzzle dependency to constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
Craig Paul committed Oct 25, 2016
1 parent 4985650 commit 376c4a7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Gateway.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

namespace CraigPaul\Moneris;

use GuzzleHttp\Client;

/**
* CraigPaul\Moneris\Gateway
*
Expand Down Expand Up @@ -182,7 +184,7 @@ public function purchase(array $params = [])
*/
protected function process(Transaction $transaction)
{
$processor = new Processor();
$processor = new Processor(new Client());

return $processor->process($transaction);
}
Expand Down

0 comments on commit 376c4a7

Please sign in to comment.