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: base.rb
    path of file: ./repos/libraries.io/app/models/repository_owner
    
    the code of the file until where you have to start completion: # frozen_string_literal: true

module RepositoryOwner
  class Base
    attr_reader :owner

    def initialize(owner)
      @owner = owner
    end

   
    
    def check_status
      response = Typhoeus.head(repository_url)

      if response.response_code == 404
        owner.repositories.each do |repo|
          CheckRepoStatusWorker.perform_async(repo.host_type, repo.full_name)
        end
        owner.destroy
      end