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



113
114
115
116
117
118
# File 'lib/ory-client/models/recovery_code_for_identity.rb', line 113

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