Module: Micropayment

Defined in:
lib/micropayment-rails/setup.rb,
lib/micropayment-rails/classes/base.rb,
lib/micropayment-rails/classes/address.rb,
lib/micropayment-rails/classes/session.rb,
lib/micropayment-rails/classes/customer.rb,
lib/micropayment-rails/classes/bank_account.rb

Defined Under Namespace

Classes: Address, BankAccount, Base, Customer, Session

Class Method Summary collapse

Class Method Details

.setup {|Micropayment::Config| ... } ⇒ Object

Yields:

  • (Micropayment::Config)


3
4
5
6
7
# File 'lib/micropayment-rails/setup.rb', line 3

def self.setup
  yield Micropayment::Config
  Micropayment::Config.complete = true
  Micropayment::Config
end