Chatwoot/config/initializers/00_init.rb
2019-10-20 14:17:26 +05:30

2 lines
172 B
Ruby

PLAN_CONFIG = YAML.load_file(File.join(Rails.root, 'config', 'plans.yml'))
$chargebee = ChargeBee.configure(site: ENV['CHARGEBEE_SITE'], api_key: ENV['CHARGEBEE_API_KEY'])