Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
ksdev-pl committed Jul 5, 2015
1 parent 56d7cd4 commit 86968c9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,10 @@ $ composer require ksdev/nbp-currency-converter
## Usage

``` php
$converter = new Ksdev\NBPCurrencyConverter(new GuzzleHttp\Client(), 'path/to/cache/folder');
$converter = new Ksdev\NBPCurrencyConverter(
new GuzzleHttp\Client(),
'path/to/cache/folder'
);
try {
$result = $converter->convert('123.4567', 'PLN', 'USD')
}
Expand Down

0 comments on commit 86968c9

Please sign in to comment.