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

module ClaimsApi
  class ClaimAuditor < ClaimsApi::ServiceBase
    def perform
      return unless Settings.claims_api.audit_enabled

      claims = ClaimsApi::AutoEstablishedClaim.where(created_at: 1.day.ago..Time.zone.now)
                                              .where(status: ClaimsApi::AutoEstablishedClaim::ERRORED)

      return unless claims.any?

      client = SlackNotify::Client.new(webhook_url: Settings.claims_api.slack.webhook_url,
                                       channel: '#api-benefits-claims-alerts',
                                       username: 'ClaimAuditor')
      environment_name = Settings.claims_api.claims_error_reporting.environment_name
      message = "#{claims.count} claim#{claims
    
    def perform
      return unless Settings.claims_api.audit_enabled

      claims = ClaimsApi::AutoEstablishedClaim.where(created_at: 1.day.ago..Time.zone.now)
                                              .where(status: ClaimsApi::AutoEstablishedClaim::ERRORED)

      return unless claims.any?

      client = SlackNotify::Client.new(webhook_url: Settings.claims_api.slack.webhook_url,
                                       channel: '#api-benefits-claims-alerts',
                                       username: 'ClaimAuditor')
      environment_name = Settings.claims_api.claims_error_reporting.environment_name
      message = "#{claims.count} claim#{claims.count == 1 ? '' : 's'} in #{environment_name} "\
                'has an errored status.  '\
                'Please check these claims to determine if any resubmissions or other fixes are required.\n\n'

      message += "*Claim ids:*\n"
      claims.each { |claim| message += "- `#{claim.id}`\n" }
      client.notify(message)
    end