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

require 'terms_of_use/exceptions'

module TermsOfUse
  class Acceptor
    include ActiveModel::Validations

    attr_reader :user_account, :icn, :commo
    
    def initialize(user_account:, common_name:, version:)
      @user_account = user_account
      @common_name = common_name
      @version = version
      @icn = user_account&.icn

      validate!
    rescue ActiveModel::ValidationError => e
      log_and_raise_acceptor_error(e)
    end