Module: StripeLocal::SyncPlans::ClassMethods

Defined in:
app/mixins/stripe_local/sync_plans.rb

Instance Method Summary collapse

Instance Method Details

#delete(id, destroy_remote = true) ⇒ Object



13
14
15
16
17
# File 'app/mixins/stripe_local/sync_plans.rb', line 13

def delete id, destroy_remote = true
  if super( id )
    synchronize_destroy( id ) if destroy_remote == true
  end
end