Sha256: 57da24cfb161977f4e788dc4ee1af8109d7b9066e6d698f055584d6f1d64a975
Contents?: true
Size: 550 Bytes
Versions: 16
Compression:
Stored size: 550 Bytes
Contents
module Workarea module UsaepayTransactionVcrGateway #[3] def self.included(test) test.setup :set_up_gateway test.teardown :reset_gateway end def set_up_gateway @_old_gateway = Workarea.config.gateways.credit_card Workarea.config.gateways.credit_card = ActiveMerchant::Billing::UsaEpayCustom.new( #[5] user: 'xxxx', login: 'xxxx', password: 'xxxx', test: true ) end def reset_gateway Workarea.config.gateways.credit_card = @_old_gateway #[7] end end end
Version data entries
16 entries across 16 versions & 1 rubygems