1
0
Fork 0
forked from OpenNeo/impress
impress/config/initializers/stripe.rb

6 lines
191 B
Ruby

Rails.configuration.stripe = {
:publishable_key => ENV['STRIPE_PUBLISHABLE_KEY'],
:secret_key => ENV['STRIPE_SECRET_KEY']
}
Stripe.api_key = Rails.configuration.stripe[:secret_key]