Method: TransferZero::WebhookDefinition#list_invalid_properties
- Defined in:
- lib/transferzero-sdk/models/webhook_definition.rb
#list_invalid_properties ⇒ Object
Show invalid properties with the reasons. Usually used together with valid?
96 97 98 99 100 101 102 103 104 105 106 107 |
# File 'lib/transferzero-sdk/models/webhook_definition.rb', line 96 def list_invalid_properties invalid_properties = Array.new if @url.nil? invalid_properties.push('invalid value for "url", url cannot be nil.') end if @events.nil? invalid_properties.push('invalid value for "events", events cannot be nil.') end invalid_properties end |