Method: DocSpring::AddFieldsData#list_invalid_properties
- Defined in:
- lib/docspring/models/add_fields_data.rb
#list_invalid_properties ⇒ Object
Show invalid properties with the reasons. Usually used together with valid?
71 72 73 74 75 76 77 78 79 |
# File 'lib/docspring/models/add_fields_data.rb', line 71 def list_invalid_properties warn '[DEPRECATED] the `list_invalid_properties` method is obsolete' invalid_properties = Array.new if @fields.nil? invalid_properties.push('invalid value for "fields", fields cannot be nil.') end invalid_properties end |