Module: GimmeGimme

Defined in:
lib/gimme_gimme.rb,
lib/gimme_gimme/user.rb,
lib/gimme_gimme/engine.rb,
lib/gimme_gimme/gateway.rb,
lib/gimme_gimme/version.rb,
lib/gimme_gimme/credit_card.rb,
lib/generators/gimme_gimme/base.rb,
lib/gimme_gimme/credit_cards_controller.rb,
lib/generators/gimme_gimme/install/install_generator.rb,
lib/generators/gimme_gimme/test_support/test_support_generator.rb,
lib/generators/gimme_gimme/test_support/templates/testing/fake_cim_server.rb,
lib/generators/gimme_gimme/test_support/templates/testing/fake_cim_gateway.rb,
lib/generators/gimme_gimme/test_support/templates/testing/fake_cim_spec_helpers.rb

Defined Under Namespace

Modules: CreditCard, CreditCardsController, FakeCimHelpers, Generators, Sequencer, User Classes: Engine, FakeCimGateway, FakeCimServer, Gateway

Constant Summary collapse

VERSION =
'0.3.3'
@@gateway =
nil

Class Method Summary collapse

Class Method Details

.gatewayObject



11
12
13
# File 'lib/gimme_gimme.rb', line 11

def self.gateway
  @@gateway ||= Gateway.authorize_net_gateway
end

.gateway=(new_gateway) ⇒ Object



15
16
17
# File 'lib/gimme_gimme.rb', line 15

def self.gateway=(new_gateway)
  @@gateway = new_gateway
end