src/Iadvize/ApiRestClient/Client.php
public function getResource($name, $identifier)
    {
        $this->lastRequest = new Request;
        $this->lastRequest->setMode(Request::MODE_READ);
        $this->lastRequest->setResourceName($name);
        $this->lastRequest->setIdentifier($identifier);

        $response = $this->proceed();

        return $response->getData()->getData();
    }
public function getResource($name, $identifier)
    {
        $this->lastRequest = new Request;
        $this->lastRequest->setMode(Request::MODE_READ);
        $this->lastRequest->setResourceName($name);
        $this->lastRequest->setIdentifier($identifier);

        $response = $this->proceed();

        return $response->getData()->getData();
    }
Get resource

@param string $name       Name
@param int    $identifier Identifier

@return Response\Data