public function put($path, array $data = null)
{
return $this->request($path, $data, 'put');
}
public function testHttpPutMethodSet() { $api = new Api('*****@*****.**', 'Auth Key'); $result = $api->put('test'); $this->assertEquals("put", $result['method']); }