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

class HCAAttachmentUploader < CarrierWave::Uploader::Base
  include SetAWSConfig
  include UploaderVirusScan
  include CarrierWave::MiniMagick

  def size_range
    1.byte
    
  def extension_allowlist
    # accepted by enrollment system: PDF,WORD,JPG,RTF
    %w[pdf doc docx jpg jpeg rtf png]
  end

  def store_dir
    'hca_attachments'
  end

  def filename
    @guid
  end

  private

  def png?(file)
    file.content_type == 'image/png'
  end
end