Method: TalonOne::MessageTest#list_invalid_properties
- Defined in:
- lib/talon_one/models/message_test.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 80 81 82 |
# File 'lib/talon_one/models/message_test.rb', line 71 def list_invalid_properties invalid_properties = Array.new if @http_response.nil? invalid_properties.push('invalid value for "http_response", http_response cannot be nil.') end if @http_status.nil? invalid_properties.push('invalid value for "http_status", http_status cannot be nil.') end invalid_properties end |