Skip to content

Instantly share code, notes, and snippets.

@chyld
Last active December 15, 2015 14:29
Show Gist options
  • Save chyld/5274373 to your computer and use it in GitHub Desktop.
Save chyld/5274373 to your computer and use it in GitHub Desktop.
Rails.configuration.stripe = {
:publishable_key => ENV['STRIPE_PUB'],
:secret_key => ENV['STRIPE_SEC']
}
Stripe.api_key = Rails.configuration.stripe[:secret_key]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment