Method: Noths::EnquiryMessage#list_invalid_properties
- Defined in:
- lib/noths/models/enquiry_message.rb
#list_invalid_properties ⇒ Object
Show invalid properties with the reasons. Usually used together with valid?
41 42 43 44 45 46 47 48 |
# File 'lib/noths/models/enquiry_message.rb', line 41 def list_invalid_properties invalid_properties = Array.new if @body.nil? invalid_properties.push("invalid value for 'body', body cannot be nil.") end return invalid_properties end |