Class: StripeModelCallbacks::SyncEverything

Inherits:
BaseService
  • Object
show all
Defined in:
app/services/stripe_model_callbacks/sync_everything.rb

Instance Method Summary collapse

Methods inherited from BaseService

advisory_lock_id, advisory_lock_name, execute_with_advisory_lock!, reported_execute!, with_exception_notifications

Instance Method Details

#performObject



2
3
4
5
6
7
# File 'app/services/stripe_model_callbacks/sync_everything.rb', line 2

def perform
  StripeModelCallbacks::Coupon::SyncAll.execute!
  StripeModelCallbacks::Plan::SyncAll.execute!

  succeed!
end