Sha256: 3ab9dd70bad32c8750efda09bc884eed520943ba400b9ca08ff1415bb32b1425

Contents?: true

Size: 242 Bytes

Versions: 11

Compression:

Stored size: 242 Bytes

Contents

if Rails.env.development?
  YoudaoFanyi.configure do |config|
    config.api_keys = YAML.load_file(Rails.root.join("config/youdao_fanyi_api_keys.yml").to_s)["youdao_fanyi_api_keys"]
#    config.http_proxy = 'http://127.0.0.1:8118'
  end
end

Version data entries

11 entries across 6 versions & 2 rubygems

Version Path
youdao_fanyi-0.1.2.2 spec/rails3_0_app/config/initializers/youdao_fanyi.rb
youdao_fanyi-0.1.2.2 lib/generators/youdao_fanyi/install/templates/youdao_fanyi.rb
youdao_fanyi-0.1.2.1 lib/generators/youdao_fanyi/install/templates/youdao_fanyi.rb
youdao_fanyi-0.1.2.1 spec/rails3_0_app/config/initializers/youdao_fanyi.rb
youdao_fanyi-0.1.2 lib/generators/youdao_fanyi/install/templates/youdao_fanyi.rb
youdao_fanyi-0.1.2 spec/rails3_0_app/config/initializers/youdao_fanyi.rb
i18n_attributes-0.1.6 spec/rails3_0_app/config/initializers/youdao_fanyi.rb
youdao_fanyi-0.1.1 spec/rails3_0_app/config/initializers/youdao_fanyi.rb
youdao_fanyi-0.1.1 lib/generators/youdao_fanyi/install/templates/youdao_fanyi.rb
youdao_fanyi-0.1.0 lib/generators/youdao_fanyi/install/templates/youdao_fanyi.rb
youdao_fanyi-0.1.0 spec/rails3_0_app/config/initializers/youdao_fanyi.rb