Sha256: 38bdebcfcee2b897a58e5d92930d196cbd902fbf8e5235e8286d6b835ce37ffd
Contents?: true
Size: 1.39 KB
Versions: 8
Compression:
Stored size: 1.39 KB
Contents
# frozen_string_literal: true module ConvenientService module Service module Plugins module HasJSendResult module Entities class Result module Plugins module HasJSendStatusAndAttributes module Commands class CreateStatusClass < Support::Command include Support::DependencyContainer::Import ## # @!attribute [r] result_class # @return Class # attr_reader :result_class ## # @return Class # import :"commands.FindOrCreateEntity", from: Common::Plugins::CanHaveUserProvidedEntity::Container ## # @param result_class [Class] # @return [void] # def initialize(result_class:) @result_class = result_class end ## # @return [Class] # def call commands.FindOrCreateEntity.call(namespace: result_class, proto_entity: Entities::Status) end end end end end end end end end end end
Version data entries
8 entries across 8 versions & 1 rubygems