Method: OryClient::RecoveryCodeForIdentity#valid?

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

#valid?Boolean

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

Returns:

  • (Boolean)

    true if the model is valid



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

def valid?
  return false if @recovery_code.nil?
  return false if @recovery_link.nil?
  true
end