Module: ConvenientService::Common::Plugins::CanHaveUserProvidedEntity
- Defined in:
- lib/convenient_service/common/plugins/can_have_user_provided_entity.rb,
lib/convenient_service/common/plugins/can_have_user_provided_entity/exceptions.rb,
lib/convenient_service/common/plugins/can_have_user_provided_entity/commands/find_or_create_entity.rb
Defined Under Namespace
Modules: Commands, Exceptions
Class Method Summary collapse
Class Method Details
.find_or_create_entity(namespace, proto_entity) ⇒ Object
16 17 18 |
# File 'lib/convenient_service/common/plugins/can_have_user_provided_entity.rb', line 16 def find_or_create_entity(namespace, proto_entity) Commands::FindOrCreateEntity[namespace: namespace, proto_entity: proto_entity] end |