Class: Billy::Webhooks::LemonSqueezyController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- Billy::Webhooks::LemonSqueezyController
- Defined in:
- app/controllers/billy/webhooks/lemon_squeezy_controller.rb
Instance Method Summary collapse
Instance Method Details
#create ⇒ Object
9 10 11 12 13 14 15 16 17 18 |
# File 'app/controllers/billy/webhooks/lemon_squeezy_controller.rb', line 9 def create puts "*******" puts request.headers["X-Event-Name"] puts "*******" queue_event(verified_event) head :ok rescue Billy::Errors::LemonSqueezyError head :bad_request end |