Exemplo n.º 1
0
 /**
  * Update() returns an asynchronous response
  *
  * @param array $params array of key/value pairs
  * @return AsyncResponse
  */
 public function update($params = array())
 {
     return new AsyncResponse($this->Service(), parent::update($params)->httpBody());
 }
Exemplo n.º 2
0
 /**
  * Update() returns an asynchronous response
  *
  * @param array $params array of key/value pairs
  * @return AsyncResponse
  */
 public function update($params = array())
 {
     $response = parent::update($params);
     $body = Formatter::decode($response);
     return new AsyncResponse($this->getService(), $body);
 }