Sha256: 2a60b6862c492cf50c27b9fcab3e45221af2cab99bfafbad166f09c42ce3ff33
Contents?: true
Size: 588 Bytes
Versions: 3
Compression:
Stored size: 588 Bytes
Contents
# encoding: utf-8 # Setup NitroPay keys if Rails.env.production? NitroPay.app_id = Rails.application.secrets.nitro_pay['app_id'] NitroPay.secret_key = Rails.application.secrets.nitro_pay['secret_key'] else # TODO if using Rails 3 or older & not using the TEST_ENV, put here your TEST app_id & your secret_key NitroPay.app_id = '' NitroPay.secret_key = '' # TODO: Uncomment test_env if you want to test using NitroPay default & global app # NitroPay.test_env = true # TODO: Uncomment debugger if you have an NitroPay instance on your machine # NitroPay.debug = true end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
nitro_pay-1.0.10 | lib/generators/templates/nitro_pay.rb |
nitro_pay-1.0.9 | lib/generators/templates/nitro_pay.rb |
nitro_pay-1.0.8 | lib/generators/templates/nitro_pay.rb |