Пример #1
0
 public function testListJobsCommandAndIterator()
 {
     $commandResults = $this->client->listJobs()->toArray();
     $this->assertArrayHasKey('Jobs', $commandResults);
     $iteratorResults = $this->client->getIterator('ListJobs')->toArray();
     $this->assertEquals($commandResults['Jobs'], $iteratorResults);
 }
Пример #2
0
 /**
  * @return \Guzzle\Service\Resource\Model
  */
 public function listJobs()
 {
     return $this->_client->listJobs();
 }