diff --git a/Exchange.php b/Exchange.php index e0bd815..533dc03 100644 --- a/Exchange.php +++ b/Exchange.php @@ -105,12 +105,12 @@ public function convert(array $args) * @return array * @throws GuzzleException */ - public function currencies() + public function currencies(array $args = []) { return json_decode( $this ->client - ->request('GET', '/currencies.json') + ->request('GET', '/currencies.json', ['query' => array_merge($args, $this->options)]) ->getBody() ->getContents(), true @@ -136,4 +136,4 @@ private function fetch($route, array $options, $responseKey = 'rates') ); return $response[$responseKey]; } -} \ No newline at end of file +}