Sha256: 8177ee10d0663613e4454140ca93cd51442bc7a31e4b32c164d03a9798326ac3

Contents?: true

Size: 350 Bytes

Versions: 3

Compression:

Stored size: 350 Bytes

Contents

module QuickbooksWebConnector
  class SoapController < QuickbooksWebConnectorController

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

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

  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
quickbooks_web_connector-0.8.0 app/controllers/quickbooks_web_connector/soap_controller.rb
quickbooks_web_connector-0.7.1 app/controllers/quickbooks_web_connector/soap_controller.rb
quickbooks_web_connector-0.7.0 app/controllers/quickbooks_web_connector/soap_controller.rb