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/vets-api/app/models/async_transaction/va_profile
    
    the code of the file until where you have to start completion: # frozen_string_literal: true

module AsyncTransaction
  module VAProfile
    class Base < AsyncTransaction::Base
      FINAL_STATUSES = %w[
        REJECTED

    
      def self.last_requested_for_user(user)
        transactions = where(
          status: Base::REQUESTED,
          user_uuid: user.uuid
        ).order(
          created_at: :desc
        ).limit(1)

        return to_s.gsub('VAProfile', 'Vet360').constantize.last_requested.for_user(user) if transactions.blank?

        transactions
      end