lib/active_merchant/billing/gateways/nab_transact.rb in activemerchant-1.28.0 vs lib/active_merchant/billing/gateways/nab_transact.rb in activemerchant-1.29.0
- old
+ new
@@ -50,15 +50,10 @@
SUCCESS_CODES = [ '00', '08', '11', '16', '77' ]
def initialize(options = {})
requires!(options, :login, :password)
- @options = options
super
- end
-
- def test?
- @options[:test] || super
end
def purchase(money, credit_card_or_stored_id, options = {})
if credit_card_or_stored_id.respond_to?(:number)
#Credit card for instant payment