Method: Hanami::Extensions::DB::Repo.included

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

.included(repo_class) ⇒ 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



13
14
15
16
17
18
# File 'lib/hanami/extensions/db/repo.rb', line 13

def self.included(repo_class)
  super

  repo_class.extend(Hanami::SliceConfigurable)
  repo_class.extend(ClassMethods)
end