lib/DealsService.php
public function get($id, array $options = array())
  {
    list($code, $deal) = $this->httpClient->get("/deals/{$id}", null, $options);
    if (isset($options['raw']) && $options['raw']) {
      return $deal;
    }
    $deal = $this->coerceDealData($deal);
    return $deal;
  }
public function get($id, array $options = array())
  {
    list($code, $deal) = $this->httpClient->get("/deals/{$id}", null, $options);
    if (isset($options['raw']) && $options['raw']) {
      return $deal;
    }
    $deal = $this->coerceDealData($deal);
    return $deal;
  }
public function get ( $ id , array $ options = array ( ) ) { list ( $ code , $ deal ) = $ this -> httpClient -> get ( "/deals/{$id}" , null , $ options ) ; if ( isset ( $ options [ 'raw' ] ) && $ options [ 'raw' ] ) { return $ deal ; } $ deal = $ this -> coerceDealData ( $ deal ) ; return $ deal ; }
Retrieve a single deal

get '/deals/{id}'

Returns a single deal available to the user, according to the unique deal ID provided
If the specified deal does not exist, the request will return an error

@param integer $id Unique identifier of a Deal
@param array $options Additional request's options.

@return array Searched Deal.
Retrieve a single deal