lib/braintree/subscription.rb in braintree-3.3.0 vs lib/braintree/subscription.rb in braintree-3.4.0
- old
+ new
@@ -9,15 +9,15 @@
Recurring = "recurring"
Unrecognized = "unrecognized"
end
module Status
- Active = 'Active'
- Canceled = 'Canceled'
- Expired = 'Expired'
- PastDue = 'Past Due'
- Pending = 'Pending'
+ Active = "Active"
+ Canceled = "Canceled"
+ Expired = "Expired"
+ PastDue = "Past Due"
+ Pending = "Pending"
All = constants.map { |c| const_get(c) }
end
module TrialDurationUnit
@@ -113,10 +113,10 @@
end
class << self
protected :new
def _new(*args) # :nodoc:
- self.new *args
+ self.new(*args)
end
end
end
end