lib/active_merchant/billing/credit_card.rb in activemerchant-1.9.0 vs lib/active_merchant/billing/credit_card.rb in activemerchant-1.9.1
- old
+ new
@@ -51,9 +51,11 @@
# Optional verification_value (CVV, CVV2 etc). Gateways will try their best to
# run validation on the passed in value if it is supplied
attr_accessor :verification_value
+ alias_method :brand, :type
+
# Provides proxy access to an expiry date object
def expiry_date
ExpiryDate.new(@month, @year)
end