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