class Maglev::Content::UpdateSectionBlockService
def call
def call raise Maglev::Errors::UnknownSection unless section_definition raise Maglev::Errors::UnknownBlock unless block_definition ActiveRecord::Base.transaction do if site_scoped? update_section_block_content!(site) else update_section_block_content!(page) end end end