Skip to content

Instantly share code, notes, and snippets.

@Yenwod
Created December 22, 2019 22:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Yenwod/03d1fcc1269c649e0ab4abc51be9a8eb to your computer and use it in GitHub Desktop.
Save Yenwod/03d1fcc1269c649e0ab4abc51be9a8eb to your computer and use it in GitHub Desktop.
Stripe.api_key = ENV['STRIPE_API_KEY'] || Rails.application.credentials.stripe_secret_key
StripeEvent.signing_secret = ENV['STRIPE_SIGNING_SECRET'] || Rails.application.credentials.stripe_signing_secret
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment