Sha256: aa5695cbfab2b661985a40e198053bb6fbb36181c4016d6d457cece890c2eb0c

Contents?: true

Size: 394 Bytes

Versions: 3

Compression:

Stored size: 394 Bytes

Contents

require "dry/web/umbrella"
require_relative "settings"

module <%= config[:camel_cased_app_name] %>
  class Container < Dry::Web::Umbrella
    configure do
      config.name = :core
      config.settings_loader = <%= config[:camel_cased_app_name] %>::Settings
      config.listeners = true
    end

    load_paths! "lib", "system"

    def self.settings
      config.settings
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
dry-web-roda-0.6.3 lib/dry/web/roda/skeletons/umbrella_project/system/__underscored_app_name__/container.rb.tt
dry-web-roda-0.6.2 lib/dry/web/roda/skeletons/umbrella_project/system/__underscored_app_name__/container.rb.tt
dry-web-roda-0.6.1 lib/dry/web/roda/skeletons/umbrella_project/system/__underscored_app_name__/container.rb.tt