class PublishingApiManualWithSectionsWithdrawer
  def call(manual, _ = nil)
    PublishingAPIWithdrawer.new(
      entity: manual,
    ).call

    manual.sections.each do |document|
      PublishingAPIWithdrawer.new(
        entity: document,
      ).call
    end
  end
end

class PublishingApiManualWithSectionsWithdrawer
  def call(manual, _ = nil)
    PublishingAPIWithdrawer.new(
      entity: manual,
    ).call

    manual.sections.each do |section|
      PublishingAPIWithdrawer.new(
        entity: section,
      ).call
    end
  end
end

Rename document -> section in PublishingApiManualWithSectionsWithdrawer
Rename document -> section in PublishingApiManualWithSectionsWithdrawer
