lib/braintree/subscription.rb in braintree-1.1.0 vs lib/braintree/subscription.rb in braintree-1.1.1
- old
+ new
@@ -92,12 +92,10 @@
end
end
def _init(attributes) # :nodoc:
set_instance_variables_from_hash(attributes)
- if self.price
- instance_variable_set :@price, BigDecimal.new(self.price)
- end
+ @price = Util.to_big_decimal(price)
end
def self._update_signature # :nodoc:
[
:id,