Sha256: 568ed600fba7df56dd018929cdabf8be0c9d681afe508de490487f4a0e08d22d
Contents?: true
Size: 399 Bytes
Versions: 15
Compression:
Stored size: 399 Bytes
Contents
require "dry/web/settings" require "dry-types" module <%= config[:camel_cased_app_name] %> class Settings < Dry::Web::Settings module Types include Dry::Types.module module Required String = Types::Strict::String.constrained(min_size: 1) end end setting :database_url, Types::Required::String setting :session_secret, Types::Required::String end end
Version data entries
15 entries across 12 versions & 1 rubygems