public function get($redirectId, array $params = array())
    {
        $endpoint = '/admin/redirects/'.$redirectId.'.json';
        $response = $this->request($endpoint, 'GET', $params);
        return $this->createObject(Redirect::class, $response['redirect']);
    }
public function get($redirectId, array $params = array())
    {
        $endpoint = '/admin/redirects/'.$redirectId.'.json';
        $response = $this->request($endpoint, 'GET', $params);
        return $this->createObject(Redirect::class, $response['redirect']);
    }
public function get ( $ redirectId , array $ params = array ( ) ) { $ endpoint = '/admin/redirects/' . $ redirectId . '.json' ; $ response = $ this -> request ( $ endpoint , 'GET' , $ params ) ; return $ this -> createObject ( Redirect :: class , $ response [ 'redirect' ] ) ; }
Receive a singel redirect

@link   https://help.shopify.com/api/reference/redirect#show
@param  integer $redirectId
@param  array   $params
@return Redirect
Receive a singel redirect