Class: QuickbooksWebConnector::SoapController

Inherits:
QuickbooksWebConnectorController show all
Defined in:
app/controllers/quickbooks_web_connector/soap_controller.rb

Instance Method Summary collapse

Instance Method Details

#endpointObject



4
5
6
7
8
9
10
# File 'app/controllers/quickbooks_web_connector/soap_controller.rb', line 4

def endpoint
  # QWC will perform a GET to check the certificate, so we gotta respond
  render nothing: true and return if request.get?

  response = SoapWrapper.route(request)
  render xml: response, content_type: 'text/xml'
end