Esempio n. 1
0
 /**
  * Retrieve Command Details.
  *
  * @link https://m2x.att.com/developer/documentation/v2/commands#View-Command-Details
  *
  * @param string $id
  * @return Command
  */
 public function viewCommandDetails($id)
 {
     return Command::get($this, $id);
 }
Esempio n. 2
0
 /**
  * Device marks Command as processed
  *
  * @link https://m2x.att.com/developer/documentation/v2/commands#Device-Marks-a-Command-as-Processed
  *
  * @param Command $command
  * @param array $data
  * @return HttpResponse
  */
 public function process($command, $data = null)
 {
     return $this->client->post($this->path() . $command->path() . '/process', $data);
 }