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: registry_client_spec.rb
    path of file: ./repos/Portus/spec/lib/portus
    
    the code of the file until where you have to start completion: # frozen_string_literal: true

require "rails_helper"

# The RegistryClient defaults to the "portus" user 
    
  def perform_request(_endpoint, _verb, _authentication)
    # We don't care about the given parameters.

    return nil if @status.nil?

    OpenStruct.new(code: @status, header: { "Docker-Distribution-Api-Version" => "registry/2.0" })
  end
end