class Bosh::Director::DefaultPropertyValidationMessage
Public Instance Methods
invalid_max(options, property, result)
click to toggle source
# File lib/bosh/director/validation_helper.rb, line 69 def invalid_max(options, property, result) "Default value for property '#{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 73 def invalid_min(options, property, result) "Default value for property '#{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 65 def invalid_type(property, klass, value) "Default value for property '#{property}' value (#{value.inspect}) did not match the required type '#{klass}'" end