Source of file IntercomBulkJob.php
Size: 0,612 Bytes - Last Modified: 2021-12-23T10:37:44+00:00
/var/www/docs.ssmods.com/process/src/code/IntercomBulkJob.php
1234567891011121314151617181920212223242526272829303132333435363738 | <?php namespace SilverStripe\Intercom; /** * Reference to a bulk job result */ class IntercomBulkJob { /** * @var \Intercom\IntercomClient */ protected $client; protected $id; public function __construct($client, $id) { $this->client = $client; $this->id = $id; } public function getId() { return $this->id; } public function getInfo() { return $this->client->get('jobs/' . $this->id, null); } public function getErrors() { return $this->client->get('jobs/' . $this->id . '/error', null); } } |