style(billing): shorten past_due comment under line limit
This commit is contained in:
@@ -130,7 +130,7 @@ class Enterprise::Billing::SwitchCurrencyService
|
||||
)
|
||||
end
|
||||
|
||||
# Includes trialing (a prior switch leaves the new sub trialing); excludes past_due so a delinquent account can't switch to restore access without paying.
|
||||
# Includes trialing (a prior switch leaves the new sub trialing); excludes past_due so a delinquent account can't switch to restore access unpaid.
|
||||
def live_subscriptions
|
||||
Stripe::Subscription.list(customer: stripe_customer_id, status: 'all', limit: 100).data
|
||||
.select { |subscription| %w[active trialing].include?(subscription.status) }
|
||||
|
||||
Reference in New Issue
Block a user