Exemple #1
0
 /**
  * 
  * @param string $path
  * @param array $parameters
  * @param array $requestOptions
  * @return type
  */
 public function get($path, array $params = array(), $requestOpts = array())
 {
     $params = array_merge($params, array('format' => 'json', 'sig' => $this->generateSig(), 'apikey' => $this->getApiKey()));
     return parent::get($path, $params, $requestOpts);
 }
Exemple #2
0
 /**
  * @dataProvider getEndpointNameProvider
  */
 public function testGetEndpointName($instance, $name, $expected)
 {
     $c = new Client();
     $this->assertEquals($expected, $c->getEndpointName($instance, $name));
 }