Class: Flexite::Entry::DestroyService
- Inherits:
-
ActionService
- Object
- ActionService
- Flexite::Entry::DestroyService
- Defined in:
- app/services/flexite/entry/destroy_service.rb
Instance Method Summary collapse
Methods inherited from ActionService
Constructor Details
This class inherits a constructor from Flexite::ActionService
Instance Method Details
#call ⇒ Object
6 7 8 9 |
# File 'app/services/flexite/entry/destroy_service.rb', line 6 def call @record = Entry.destroy(@form.id) success end |