src/Resource/MoipResource.php
public function getByPath($path, $headers = [])
    {
        $response = $this->httpRequest($path, Requests::GET, null, $headers);

        if (is_array($response)) {
            $response = (object) $response;
        }

        return $this->populate($response);
    }
public function getByPath($path, $headers = [])
    {
        $response = $this->httpRequest($path, Requests::GET, null, $headers);

        if (is_array($response)) {
            $response = (object) $response;
        }

        return $this->populate($response);
    }
public function getByPath ( $ path , $ headers = [ ] ) { $ response = $ this -> httpRequest ( $ path , Requests :: GET , null , $ headers ) ; if ( is_array ( $ response ) ) { $ response = ( object ) $ response ; } return $ this -> populate ( $ response ) ; }
Find by path.

@param string $path    resource path
@param array  $headers request headers

@return stdClass
Find by path .