lib/braintree/ach_mandate.rb in braintree-2.80.1 vs lib/braintree/ach_mandate.rb in braintree-2.81.0

- old
+ new

@@ -1,9 +1,10 @@ module Braintree class AchMandate include BaseModule # :nodoc: - attr_reader :text, :accepted_at + attr_reader :accepted_at + attr_reader :text def initialize(attributes) set_instance_variables_from_hash(attributes) @accepted_at = Time.parse(attributes[:accepted_at]) unless @accepted_at.class == Time end