# frozen_string_literal: true module ConvenientService module Common module Plugins module HasInternals module Concern include Support::Concern instance_methods do def internals @internals ||= self.class.internals_class.new end end class_methods do def internals_class @internals_class ||= Commands::CreateInternalsClass.call(entity_class: self) end end end end end end end