Sha256: 2a4836e966928045683cbad60115d8050683f075a97b5e728675c2746dc66901

Contents?: true

Size: 407 Bytes

Versions: 6

Compression:

Stored size: 407 Bytes

Contents

# auto_register: false

require "rom-repository"
require "<%= config[:underscored_project_name] %>/container"
require "<%= config[:underscored_project_name] %>/import"

<%= config[:camel_cased_app_name] %>::Container.boot! :rom

module <%= config[:camel_cased_app_name] %>
  class Repository < ROM::Repository::Root
    include <%= config[:camel_cased_app_name] %>::Import.args["persistence.rom"]
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
dry-web-roda-0.7.5 lib/dry/web/roda/templates/repository.rb.tt
dry-web-roda-0.7.4 lib/dry/web/roda/templates/repository.rb.tt
dry-web-roda-0.7.3 lib/dry/web/roda/templates/repository.rb.tt
dry-web-roda-0.7.2 lib/dry/web/roda/templates/repository.rb.tt
dry-web-roda-0.7.1 lib/dry/web/roda/templates/repository.rb.tt
dry-web-roda-0.7.0 lib/dry/web/roda/templates/repository.rb.tt