You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
educoder/config/initializers/aliyun_vod_init.rb

8 lines
415 B

6 years ago
config = Rails.application.config_for(:aliyun_vod)
AliyunVod.access_key_id = config['access_key_id']
AliyunVod.access_key_secret = config['access_key_secret']
AliyunVod.base_url = config['base_url'] || 'http://vod.cn-shanghai.aliyuncs.com'.freeze
AliyunVod.cate_id = config['cate_id']
6 years ago
AliyunVod.callback_url = config['callback_url']
AliyunVod.signature_key = config['signature_key']