class Fluent::Counter::Validator

def dispatch(type, data)

def dispatch(type, data)
  send("validate_#{type}!", data)
rescue NoMethodError => e
  raise Fluent::Counter::InternalServerError.new(e)
end