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

Includes:
Support::Concern
Defined in:
lib/convenient_service/common/plugins/has_internals/concern.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:

  • 1.0.0

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Support::Concern

included

Class Method Details

.internals_classObject

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:

  • 1.0.0



22
23
24
# File 'lib/convenient_service/common/plugins/has_internals/concern.rb', line 22

def internals_class
  @internals_class ||= Common::Plugins::CanHaveUserProvidedEntity.find_or_create_entity(self, Entities::Internals)
end

Instance Method Details

#internalsObject

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:

  • 1.0.0



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

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