Method: Koudoku.setup

Defined in:
lib/koudoku.rb

.setup {|_self| ... } ⇒ Object

Yields:

  • (_self)

Yield Parameters:

  • _self (Koudoku)

    the object that the method was called on



22
23
24
25
26
27
# File 'lib/koudoku.rb', line 22

def self.setup
  yield self
  
  # Configure the Stripe gem.
  Stripe.api_key = stripe_secret_key
end