7 lines
205 B
Ruby
7 lines
205 B
Ruby
|
|
if Rails.application.credentials[:deepl_api_key]
|
||
|
|
DeepL.configure do |config|
|
||
|
|
config.auth_key = Rails.application.credentials[:deepl_api_key]
|
||
|
|
config.host = "https://api-free.deepl.com"
|
||
|
|
end
|
||
|
|
end
|