lib/active_merchant/billing/gateways/verifi.rb in activemerchant-1.20.4 vs lib/active_merchant/billing/gateways/verifi.rb in activemerchant-1.21.0

- old
+ new

@@ -61,14 +61,14 @@ self.supported_countries = ['US'] self.supported_cardtypes = [:visa, :master, :american_express, :discover] self.homepage_url = 'http://www.verifi.com/' self.display_name = 'Verifi' - def initialize(options = {}) + def initialize(options = {}) requires!(options, :login, :password) @options = options super - end + end def purchase(money, credit_card, options = {}) sale_authorization_or_credit_template(:purchase, money, credit_card, options) end