Sha256: 8cae0afd47b52e8c7697ec9b28a55cf83c70e0581cdb20596d1468e34e13c4d2

Contents?: true

Size: 375 Bytes

Versions: 3

Compression:

Stored size: 375 Bytes

Contents

Heracles::Wrapper.configure do |config|
  if Rails.env.production?
    config.api_key = "<%= options[:api_key] %>"
  elsif Rails.env.preproduction?
    config.api_key = "change-me-as-needed"
    config.heracles_base_url = 'https://heraclespprd.library.nd.edu'
  else
    config.api_key = "change-me-as-needed"
    config.heracles_base_url = 'http://localhost:8765'
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
heracles-wrapper-0.0.3 lib/rails/generators/heracles/wrapper/install/templates/config.rb
heracles-wrapper-0.0.2 lib/rails/generators/heracles/wrapper/install/templates/config.rb
heracles-wrapper-0.0.1 lib/rails/generators/heracles/wrapper/install/templates/config.rb