Class: Maglev::GetPublishedPageSectionsService
- Inherits:
-
Object
- Object
- Maglev::GetPublishedPageSectionsService
- Includes:
- Injectable, Maglev::GetPageSections::TransformSectionConcern
- Defined in:
- app/services/maglev/get_published_page_sections_service.rb
Instance Method Summary collapse
Instance Method Details
#call ⇒ Object
17 18 19 20 21 |
# File 'app/services/maglev/get_published_page_sections_service.rb', line 17 def call (fetch_container_store(page).sections || []).map do |section| transform_section(section.dup) end.compact end |