Class: IngramMicroEngine::WebhookController

Inherits:
ActionController::Base
  • Object
show all
Defined in:
app/controllers/ingram_micro_engine/webhook_controller.rb

Instance Method Summary collapse

Instance Method Details

#eventObject



5
6
7
8
9
# File 'app/controllers/ingram_micro_engine/webhook_controller.rb', line 5

def event
  IngramMicroEngine.instrument(transaction_name, request_body)

  render status: 200, xml: success_response
end