Class: Eco::API::UseCases::DefaultCases::DeleteSyncCase

Inherits:
DeleteTransCase show all
Defined in:
lib/eco/api/usecases/default_cases/delete_sync_case.rb

Instance Method Summary collapse

Methods inherited from DeleteTransCase

#delete

Methods inherited from Common::Loaders::UseCase

#cli_apply!, #initialize

Methods included from Common::Loaders::UseCase::CliIdentify

#cli, #cli!

Methods included from Common::Loaders::UseCase::TargetModel

#target_model

Methods included from Common::Loaders::UseCase::Type

#type

Methods inherited from Common::Loaders::CaseBase

#name, name_only_once!, original_name

Constructor Details

This class inherits a constructor from Eco::API::Common::Loaders::UseCase

Instance Method Details

#main(entries, *_args) ⇒ Object



5
6
7
8
# File 'lib/eco/api/usecases/default_cases/delete_sync_case.rb', line 5

def main(entries, *_args)
  found = micro.with_each_present(entries, people, options, log_starter: true)
  delete(found)
end