original_string: public function create(Redirect &$redirect)
      {
          $endpoint = '/admin/redirects.json';
          $data = $redirect->exportData();
          $response = $this->request(
              $endpoint, "POST", array(
              'redirect' => $data
              )
          );
          $redirect->setData($response['redirect']);
      }
code: public function create(Redirect &$redirect)
      {
          $endpoint = '/admin/redirects.json';
          $data = $redirect->exportData();
          $response = $this->request(
              $endpoint, "POST", array(
              'redirect' => $data
              )
          );
          $redirect->setData($response['redirect']);
      }
code_tokens: public function create ( Redirect & $ redirect ) { $ endpoint = '/admin/redirects.json' ; $ data = $ redirect -> exportData ( ) ; $ response = $ this -> request ( $ endpoint , "POST" , array ( 'redirect' => $ data ) ) ; $ redirect -> setData ( $ response [ 'redirect' ] ) ; }
docstring: Create a new redirect
  
  @link   https://help.shopify.com/api/reference/redirect#create
  @param  Redirect $redirect
  @return void
docstring_tokens: Create a new redirect