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: disability_compensation_benefits_documents_uploader.rb
    path of file: ./repos/vets-api/modules/claims_api/app/sidekiq/claims_api/v2
    
    the code of the file until where you have to start completion: # frozen_string_literal: true

require 'pdf_generator_service/pdf_client'
require 'bd/bd'

module ClaimsApi
  mod
    
      def bd_upload_body(auto_claim:, file_body:)
        fh = Tempfile.new(['pdf_path', '.pdf'], binmode: true)
        begin
          fh.write(file_body)
          fh.close
          claim_bd_upload_document(auto_claim, fh.path)
        ensure
          fh.unlink
        end