Sha256: c2d1ed75b7823827060f0a6e65ee9b3e2f748b9d74c5c193f04471696a5d94e0

Contents?: true

Size: 294 Bytes

Versions: 8

Compression:

Stored size: 294 Bytes

Contents

<%= config[:camel_cased_app_name] %>::Container.boot :settings, from: :system do
  before :init do
    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

8 entries across 8 versions & 2 rubygems

Version Path
dry-web-roda-0.14.0 lib/dry/web/roda/templates/settings.rb.tt
dry-web-web_pipe-0.2.0 lib/dry/web/web_pipe/templates/settings.rb.tt
dry-web-roda-0.13.1 lib/dry/web/roda/templates/settings.rb.tt
dry-web-roda-0.13.0 lib/dry/web/roda/templates/settings.rb.tt
dry-web-web_pipe-0.1.0 lib/dry/web/web_pipe/templates/settings.rb.tt
dry-web-roda-0.12.0 lib/dry/web/roda/templates/settings.rb.tt
dry-web-roda-0.11.0 lib/dry/web/roda/templates/settings.rb.tt
dry-web-roda-0.10.0 lib/dry/web/roda/templates/settings.rb.tt