Class: Maglev::ResetSectionContent
- Inherits:
-
Object
- Object
- Maglev::ResetSectionContent
- Includes:
- Injectable
- Defined in:
- app/services/maglev/reset_section_content.rb
Overview
Reset the content of a section type across a site and its pages
Instance Method Summary collapse
Instance Method Details
#call ⇒ Object
12 13 14 15 16 17 18 19 20 |
# File 'app/services/maglev/reset_section_content.rb', line 12 def call validate_section_type! @count = 0 reset_content @count end |