public function execute($timeout = 10)
    {
        $req = array('operations' => $this->operations);

        $result = $this->MailChimp->post('batches', $req, $timeout);

        if ($result && isset($result['id'])) {
            $this->batch_id = $result['id'];
        }

        return $result;
    }
public function execute($timeout = 10)
    {
        $req = array('operations' => $this->operations);

        $result = $this->MailChimp->post('batches', $req, $timeout);

        if ($result && isset($result['id'])) {
            $this->batch_id = $result['id'];
        }

        return $result;
    }
public function execute ( $ timeout = 10 ) { $ req = array ( 'operations' => $ this -> operations ) ; $ result = $ this -> MailChimp -> post ( 'batches' , $ req , $ timeout ) ; if ( $ result && isset ( $ result [ 'id' ] ) ) { $ this -> batch_id = $ result [ 'id' ] ; } return $ result ; }
Execute the batch request

@param int $timeout Request timeout in seconds (optional)

@return  array|false   Assoc array of API response, decoded from JSON
Execute the batch request