module OpenActive module Validators class BoolValidator < BaseValidator # Run validation on the given value. # # @param value [mixed] The value to validate. # @return [Boolean] Whether validation passes or not. def run(value) [true, false].include?(value) end end end end