Method: Tang::Customer#update_subscription_end
- Defined in:
- app/models/concerns/tang/customer.rb
#update_subscription_end(subscription) ⇒ Object
67 68 69 70 |
# File 'app/models/concerns/tang/customer.rb', line 67 def update_subscription_end(subscription) self.active_until = subscription.period_end self.save! end |