src/Beaudierman/Ups/Ups.php
private function send()
	{
		$ch = curl_init($this->url);
		curl_setopt($ch, CURLOPT_HEADER, 1);
		curl_setopt($ch, CURLOPT_POST, 1);
		curl_setopt($ch, CURLOPT_TIMEOUT, 60);
		curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
		curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
		curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);
		curl_setopt($ch, CURLOPT_POSTFIELDS, $this->xml);
		$result = curl_exec($ch);
		$this->xml = strstr($result, '<?');

		$this->xml_result = new \SimpleXMLElement($this->xml);

		return $this->parseResult();
	}
private function send()
	{
		$ch = curl_init($this->url);
		curl_setopt($ch, CURLOPT_HEADER, 1);
		curl_setopt($ch, CURLOPT_POST, 1);
		curl_setopt($ch, CURLOPT_TIMEOUT, 60);
		curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
		curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
		curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);
		curl_setopt($ch, CURLOPT_POSTFIELDS, $this->xml);
		$result = curl_exec($ch);
		$this->xml = strstr($result, '<?');

		$this->xml_result = new \SimpleXMLElement($this->xml);

		return $this->parseResult();
	}
Send the API request to the UPS webservice
and return the results if there was no error.
If there was an error, return false.

@param void

@return array
@return boolean