discourse-subscriptions/app/controllers/concerns/stripe.rb

12 lines
210 B
Ruby
Raw Normal View History

2019-09-24 06:44:51 -04:00
# frozen_string_literal: true
module DiscoursePatrons
module Stripe
extend ActiveSupport::Concern
def set_api_key
2019-09-24 21:18:11 -04:00
::Stripe.api_key = SiteSetting.discourse_patrons_secret_key
2019-09-24 06:44:51 -04:00
end
end
end