original_string: public function update(Country &$country)
      {
          $data = $country->exportData();
          $endpoint = '/admin/countries/'.$country->id.'.json';
          $response = $this->request(
              $endpoint, 'PUT', array(
              'country' => $data
              )
          );
          $country->setData($response['country']);
      }
code: public function update(Country &$country)
      {
          $data = $country->exportData();
          $endpoint = '/admin/countries/'.$country->id.'.json';
          $response = $this->request(
              $endpoint, 'PUT', array(
              'country' => $data
              )
          );
          $country->setData($response['country']);
      }
code_tokens: public function update ( Country & $ country ) { $ data = $ country -> exportData ( ) ; $ endpoint = '/admin/countries/' . $ country -> id . '.json' ; $ response = $ this -> request ( $ endpoint , 'PUT' , array ( 'country' => $ data ) ) ; $ country -> setData ( $ response [ 'country' ] ) ; }
docstring: Update a country
  
  @link   https://help.shopify.com/api/reference/country#update
  @param  Country $country
  @return void
docstring_tokens: Update a country