Class: MerchantSidekick::ActiveMerchant::Gateways::BogusGateway

Inherits:
Base
  • Object
show all
Defined in:
lib/merchant_sidekick/active_merchant/gateways/bogus_gateway.rb

Class Method Summary collapse

Methods inherited from Base

default_gateway=

Methods inherited from Gateway

config, config_path, default_gateway, type

Class Method Details

.gatewayObject



8
9
10
11
12
13
# File 'lib/merchant_sidekick/active_merchant/gateways/bogus_gateway.rb', line 8

def gateway
  unless @@gateway
    @@gateway = ::ActiveMerchant::Billing::BogusGateway.new
  end
  @@gateway
end