class ActiveModel::Validator

def initialize(options = {})

Accepts options that will be made available through the +options+ reader.
def initialize(options = {})
  @options = options.except(:class).freeze
end