impress/config/initializers/stripe.rb

7 lines
191 B
Ruby
Raw Normal View History

2014-09-09 19:06:38 -07:00
Rails.configuration.stripe = {
:publishable_key => ENV['STRIPE_PUBLISHABLE_KEY'],
:secret_key => ENV['STRIPE_SECRET_KEY']
}
Stripe.api_key = Rails.configuration.stripe[:secret_key]