You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: bust_article.rb
    path of file: ./repos/forem/app/services/edge_cache
    
    the code of the file until where you have to start completion: module EdgeCache
  class BustArticle
    TIMEFRAMES = [
      [-> { 1.week.ago }, "week"],
      [-> { 1.month.ago }, "month"],
      [-> { 1.year.ago }, "year"],
      [-> { 5.years.ago }, "infinity"],
    ].freeze
    def self.call(article)
      return unless article

      article.purge

      cache_bust = EdgeCache::Bust.new

      paths_for(article) do |path|
        cache_bust.call(path)
      end

      bust_home_page
    
    def self.paths_for(article, &block)
      paths = [
        article.path,
        "#{article.path}/",
        "/#{article.user.username}",
        "#{article.path}/comments",
        "#{article.path}?preview=#{article.password}",
        "/api/articles/#{article.id}",
      ]

      paths.each(&block)

      yield "/#{article.organization.slug}" if article.organization.present?

      return unless article.collection_id

      article.collection.articles.find_each do |collection_article|
        yield collection_article.path
      end
    end