lib/Braintree/AddressGateway.php
private function _doCreate($subPath, $params)
    {
        $fullPath = $this->_config->merchantPath() . $subPath;
        $response = $this->_http->post($fullPath, $params);

        return $this->_verifyGatewayResponse($response);
    }
private function _doCreate($subPath, $params)
    {
        $fullPath = $this->_config->merchantPath() . $subPath;
        $response = $this->_http->post($fullPath, $params);

        return $this->_verifyGatewayResponse($response);
    }
private function _doCreate ( $ subPath , $ params ) { $ fullPath = $ this -> _config -> merchantPath ( ) . $ subPath ; $ response = $ this -> _http -> post ( $ fullPath , $ params ) ; return $ this -> _verifyGatewayResponse ( $ response ) ; }
sends the create request to the gateway
@ignore
@param string $subPath
@param array $params
@return Result\Successful|Result\Error
sends the create request to the gateway