lib/active_merchant/billing/gateways/qbms.rb in activemerchant-1.28.0 vs lib/active_merchant/billing/gateways/qbms.rb in activemerchant-1.29.0
- old
+ new
@@ -36,12 +36,10 @@
# * <tt>:test</tt> -- +true+ or +false+. If true, perform transactions against the test server.
# Otherwise, perform transactions against the production server.
#
def initialize(options = {})
requires!(options, :login, :ticket)
- test_mode = options[:test] || false
- @options = options
super
end
# Performs an authorization, which reserves the funds on the customer's credit card, but does not
# charge the card.
@@ -111,13 +109,9 @@
end
# Query the merchant account status
def query
commit(:query, nil, {})
- end
-
- def test?
- @options[:test] || super
end
private
def hosted?