lib/recurly/stub.php
function get($params = null) {
    $uri = self::_uriWithParams($this->_href, $params);
    $object = self::_get($uri, $this->_client);
    if ($this->_href && !$object->getHref()) {
      $object->setHref($this->_href);
    }
    return $object;
  }
function get($params = null) {
    $uri = self::_uriWithParams($this->_href, $params);
    $object = self::_get($uri, $this->_client);
    if ($this->_href && !$object->getHref()) {
      $object->setHref($this->_href);
    }
    return $object;
  }
function get ( $ params = null ) { $ uri = self :: _uriWithParams ( $ this -> _href , $ params ) ; $ object = self :: _get ( $ uri , $ this -> _client ) ; if ( $ this -> _href && ! $ object -> getHref ( ) ) { $ object -> setHref ( $ this -> _href ) ; } return $ object ; }
Retrieve the stubbed resource.

@param array $params
@return object
@throws Recurly_Error
Retrieve the stubbed resource .