class AWS::Record::CountValidator

def too_many max, got

def too_many max, got
  msg = options[:too_many] || "has too many values (maximum is %{maximum})"
  interpolate(msg, :maximum => max, :count => got)
end