class Bosh::Director::PropertyValidationMessage

Public Instance Methods

invalid_max(options, property, result) click to toggle source
# File lib/bosh/director/validation_helper.rb, line 55
def invalid_max(options, property, result)
  "'#{property}' value (#{result.inspect}) should be less than #{options[:max].inspect}"
end
invalid_min(options, property, result) click to toggle source
# File lib/bosh/director/validation_helper.rb, line 59
def invalid_min(options, property, result)
  "'#{property}' value (#{result.inspect}) should be greater than #{options[:min].inspect}"
end
invalid_type(property, klass, value) click to toggle source
# File lib/bosh/director/validation_helper.rb, line 51
def invalid_type(property, klass, value)
  "Property '#{property}' value (#{value.inspect}) did not match the required type '#{klass}'"
end