all() public method

Returns all companies
See also: http://developers.hubspot.com/docs/methods/companies/get-all-companies
public all ( array $params = [] ) : Response
$params array Array of optional parameters ['limit', 'offset', 'properties']
return SevenShores\Hubspot\Http\Response
Example #1
0
 /** @test */
 public function getAll()
 {
     $response = $this->companies->all();
     $this->assertEquals(200, $response->getStatusCode());
     $this->assertGreaterThan(0, count($response->data->companies));
 }