Sha256: 213e98b70f1448e577c3b15c9caad146d43856bdb78d51bf48548e4acbc5b527

Contents?: true

Size: 294 Bytes

Versions: 2

Compression:

Stored size: 294 Bytes

Contents

require "dry/web/settings"
require "kanji/types"

module <%= config[:camel_cased_app_name] %>
  class Settings < Dry::Web::Settings
    setting :database_url, Kanji::Types::Strict::String.constrained(filled: true)
    setting :env, Kanji::Types::Strict::String.default("development")
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
kanji-web-0.3.1 lib/kanji/templates/system/project/settings.rb.tt
kanji-web-0.3.0 lib/kanji/templates/system/project/settings.rb.tt