Module: Hanami::Extensions::DB::Repo 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

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Class Method Details

.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