Method: NucleusApi::Score#list_invalid_properties
- Defined in:
- lib/nucleus_api/models/score.rb
#list_invalid_properties ⇒ Object
Show invalid properties with the reasons. Usually used together with valid?
204 205 206 207 208 209 210 211 212 213 214 215 |
# File 'lib/nucleus_api/models/score.rb', line 204 def list_invalid_properties invalid_properties = Array.new if @score_type.nil? invalid_properties.push('invalid value for "score_type", score_type cannot be nil.') end if @score_value.nil? invalid_properties.push('invalid value for "score_value", score_value cannot be nil.') end invalid_properties end |