lib/active_merchant/billing/gateways/paybox_direct.rb in activemerchant-1.28.0 vs lib/active_merchant/billing/gateways/paybox_direct.rb in activemerchant-1.29.0

- old
+ new

@@ -58,11 +58,10 @@ # The name of the gateway self.display_name = 'Paybox Direct' def initialize(options = {}) requires!(options, :login, :password) - @options = options super end def authorize(money, creditcard, options = {}) post = {} @@ -105,13 +104,9 @@ def refund(money, identification, options = {}) post = {} add_invoice(post, options) add_reference(post, identification) commit('refund', money, post) - end - - def test? - @options[:test] || Base.gateway_mode == :test end private def add_invoice(post, options)