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.
8 lines
415 B
8 lines
415 B
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']
|
|
AliyunVod.callback_url = config['callback_url']
|
|
AliyunVod.signature_key = config['signature_key']
|