Method: CloudFormula::Template#validations
- Defined in:
- lib/cloudformula/template.rb
#validations ⇒ Object
Returns the validations defined by the template.
55 56 57 58 |
# File 'lib/cloudformula/template.rb', line 55 def validations init_parameters @parameters JsonErb.new(File.read(@source), 0).validations(binding) rescue {} end |