Method: AmzSpApi::SalesApiModel::Error#list_invalid_properties
- Defined in:
- lib/sales-api-model/models/error.rb
#list_invalid_properties ⇒ Object
Show invalid properties with the reasons. Usually used together with valid?
80 81 82 83 84 85 86 87 88 89 90 91 |
# File 'lib/sales-api-model/models/error.rb', line 80 def list_invalid_properties invalid_properties = Array.new if @code.nil? invalid_properties.push('invalid value for "code", code cannot be nil.') end if @message.nil? invalid_properties.push('invalid value for "message", message cannot be nil.') end invalid_properties end |