Class: Mihari::Services::ArtifactDestroyer
- Inherits:
-
Mihari::Service
- Object
- Mihari::Service
- Mihari::Services::ArtifactDestroyer
- Defined in:
- lib/mihari/services/destroyers.rb
Instance Method Summary collapse
Methods inherited from Mihari::Service
Instance Method Details
#call(id) ⇒ Object
18 19 20 |
# File 'lib/mihari/services/destroyers.rb', line 18 def call(id) Models::Artifact.find(id).destroy end |