lib/braintree/subscription.rb in braintree-2.11.0 vs lib/braintree/subscription.rb in braintree-2.12.0

- old
+ new

@@ -26,9 +26,10 @@ attr_reader :transactions attr_reader :next_billing_period_amount attr_reader :number_of_billing_cycles, :billing_day_of_month attr_reader :add_ons, :discounts attr_reader :descriptor + attr_reader :current_billing_cycle # See http://www.braintreepayments.com/docs/ruby/subscriptions/cancel def self.cancel(subscription_id) Configuration.gateway.subscription.cancel(subscription_id) end