lib/adyen/notification.rb in adyen-0.3.7 vs lib/adyen/notification.rb in adyen-0.3.8

- old
+ new

@@ -103,18 +103,18 @@ def self.log(request) super(request.params) end def live=(value) - self.write_attribute(:live, [true, 1, '1', 'true'].include?(value)) + super([true, 1, '1', 'true'].include?(value)) end def success=(value) - self.write_attribute(:success, [true, 1, '1', 'true'].include?(value)) + super([true, 1, '1', 'true'].include?(value)) end def value=(value) - self.write_attribute(:value, Adyen::Formatter::Price.from_cents(value)) unless value.blank? + super(Adyen::Formatter::Price.from_cents(value)) unless value.blank? end end # An ActiveRecord migration that can be used to create a suitable table # to store Adyen::Notification instances for your application. \ No newline at end of file