Module: ConvenientService::Common::Plugins::HasInternals::Concern

Includes:
Support::Concern
Defined in:
lib/convenient_service/common/plugins/has_internals/concern.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.internals_classObject



17
18
19
# File 'lib/convenient_service/common/plugins/has_internals/concern.rb', line 17

def internals_class
  @internals_class ||= Commands::CreateInternalsClass.call(entity_class: self)
end

Instance Method Details

#internalsObject



11
12
13
# File 'lib/convenient_service/common/plugins/has_internals/concern.rb', line 11

def internals
  @internals ||= self.class.internals_class.new
end