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

req
    
        def get_claims(use_cache)
          errors = []
          data = nil

          data = Mobile::V0::ClaimOverview.get_cached(@current_user) if use_cache
          unless data
            claims = service.get_all_claims.call
            errors.push(claims[:errors]) unless claims[:errors].nil?
            data = claims[:errors].nil? ? claims_adapter.parse(claims[:list]) : []
          end