Sha256: f8ffc30d0d1cf48dbd66d316847e6e3c328e4a3e5b2f3cf1c048495d97659363

Contents?: true

Size: 303 Bytes

Versions: 3

Compression:

Stored size: 303 Bytes

Contents

<%= config[:camel_cased_app_name] %>::Container.boot :settings, from: :system do
  before :init do
    ::Kernel.require "types"
  end

  settings do
    key :session_secret, Types::Strict::String.constrained(filled: true)
    key :database_url, Types::Strict::String.constrained(filled: true)
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
dry-web-roda-0.9.1 lib/dry/web/roda/templates/settings.rb.tt
dry-web-roda-0.9.0 lib/dry/web/roda/templates/settings.rb.tt
dry-web-roda-0.8.0 lib/dry/web/roda/templates/settings.rb.tt