예제 #1
0
파일: M2X.php 프로젝트: attm2x/m2x-php
 /**
  * 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);
 }
예제 #2
0
파일: Device.php 프로젝트: attm2x/m2x-php
 /**
  * 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);
 }