Method: OryClient::EmailTemplateDataBody#list_invalid_properties
- Defined in:
- lib/ory-client/models/email_template_data_body.rb
#list_invalid_properties ⇒ Object
Show invalid properties with the reasons. Usually used together with valid?
85 86 87 88 89 90 91 92 93 94 95 96 97 |
# File 'lib/ory-client/models/email_template_data_body.rb', line 85 def list_invalid_properties warn '[DEPRECATED] the `list_invalid_properties` method is obsolete' invalid_properties = Array.new if @html.nil? invalid_properties.push('invalid value for "html", html cannot be nil.') end if @plaintext.nil? invalid_properties.push('invalid value for "plaintext", plaintext cannot be nil.') end invalid_properties end |