Class: Maglev::RemoveSectionType
- Inherits:
-
Object
- Object
- Maglev::RemoveSectionType
- Includes:
- Injectable
- Defined in:
- app/services/maglev/remove_section_type.rb
Overview
Remove all sections of a specific type across a site and its pages
Instance Method Summary collapse
Instance Method Details
#call ⇒ Object
11 12 13 14 15 16 17 |
# File 'app/services/maglev/remove_section_type.rb', line 11 def call @removed_count = 0 remove_sections @removed_count end |