lib/active_merchant/billing/credit_card.rb in activemerchant-1.3.1 vs lib/active_merchant/billing/credit_card.rb in activemerchant-1.3.2

- old
+ new

@@ -110,10 +110,10 @@ private def before_validate #:nodoc: self.month = month.to_i self.year = year.to_i - self.number.to_s.gsub!(/[^\d]/, "") + self.number = number.to_s.gsub(/[^\d]/, "") self.type.downcase! if type.respond_to?(:downcase) self.type = self.class.type?(number) if type.blank? end def validate_card_number #:nodoc: