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: reader.rb
    path of file: ./repos/vets-api/modules/mocked_authentication/lib/mockdata
    
    the code of the file until where you have to start completion: # frozen_string_literal: true

module MockedAuthentication
  module Mockdata
    class Reader
      LOGINGOV_CREDENTIAL_FILEPATH = 'logingov'
      IDME_CREDENTIAL_FILEPATH = 'id
    
        def get_mocked_credential_data(credential_file_names, mpi_directory)
          mocked_credential_data = {}
          credential_file_names.each do |credential_file_name|
            credential_user_identifier = File.basename(credential_file_name, '.json')
            mocked_credential_data[credential_user_identifier] =
              update_mocked_credential_data(credential_file_name, mpi_directory)
          end

          mocked_credential_data
        end