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: inspector.rb
    path of file: ./repos/openproject/modules/auth_saml/lib/open_project/auth_saml
    
    the code of the file until where you have to start completion: module OpenProject
  module AuthSaml
    module Inspector
      module_function

      def inspect_response(auth_hash
    
      def inspect_response(auth_hash)
        response = auth_hash.dig(:extra, :response_object)
        if response
          code = response.status_code ? "(CODE #{response.status_code})" : nil
          message = response.status_message ? "(MESSAGE #{response.status_code})" : nil
          yield "SAML response success ?  #{response.success?} #{code} #{message}"

          errors = Array(response.errors).map(&:to_s).join(", ")
          yield "SAML errors: #{errors}" if errors.present?

          yield "SAML response XML: #{response.response || '(not present)'}"
        end