Module: Hanami::Extensions::DB::Repo::ClassMethods Private

Defined in:
lib/hanami/extensions/db/repo.rb

Overview

This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.

Since:

  • 2.2.0

Instance Method Summary collapse

Instance Method Details

#configure_for_slice(slice) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Since:

  • 2.2.0



23
24
25
# File 'lib/hanami/extensions/db/repo.rb', line 23

def configure_for_slice(slice)
  extend SliceConfiguredRepo.new(slice)
end