Class: Supabase::Auth::Types::AuthMFAUnenrollResponse
- Inherits:
-
Struct
- Object
- Struct
- Supabase::Auth::Types::AuthMFAUnenrollResponse
- Defined in:
- lib/supabase/auth/types.rb
Overview
MFA Unenroll response
Instance Attribute Summary collapse
-
#id ⇒ Object
Returns the value of attribute id.
Class Method Summary collapse
Instance Attribute Details
#id ⇒ Object
Returns the value of attribute id
317 318 319 |
# File 'lib/supabase/auth/types.rb', line 317 def id @id end |
Class Method Details
.from_hash(hash) ⇒ Object
321 322 323 324 325 |
# File 'lib/supabase/auth/types.rb', line 321 def self.from_hash(hash) return nil if hash.nil? new(id: hash["id"] || hash[:id]) end |