Method: OryClient::EmailTemplateDataBody#valid?

Defined in:
lib/ory-client/models/email_template_data_body.rb

#valid?Boolean

Check to see if the all the properties in the model are valid

Returns:

  • (Boolean)

    true if the model is valid



101
102
103
104
105
106
# File 'lib/ory-client/models/email_template_data_body.rb', line 101

def valid?
  warn '[DEPRECATED] the `valid?` method is obsolete'
  return false if @html.nil?
  return false if @plaintext.nil?
  true
end