Class: StripeModelCallbacks::NotifierService

Inherits:
BaseEventService show all
Defined in:
app/services/stripe_model_callbacks/notifier_service.rb

Instance Attribute Summary

Attributes inherited from BaseEventService

#event, #object

Instance Method Summary collapse

Methods inherited from BaseEventService

#initialize

Methods inherited from BaseService

advisory_lock_id, advisory_lock_name, execute_with_advisory_lock!, reported_execute!, with_exception_notifications

Constructor Details

This class inherits a constructor from StripeModelCallbacks::BaseEventService

Instance Method Details

#performObject



2
3
4
5
# File 'app/services/stripe_model_callbacks/notifier_service.rb', line 2

def perform
  Rails.logger.info "New Stripe event: #{event.type}"
  succeed!
end