Class: Supabase::Auth::Types::AuthMFAAdminDeleteFactorResponse
- Inherits:
-
Struct
- Object
- Struct
- Supabase::Auth::Types::AuthMFAAdminDeleteFactorResponse
- Defined in:
- lib/supabase/auth/types.rb
Overview
Admin MFA Delete Factor 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
380 381 382 |
# File 'lib/supabase/auth/types.rb', line 380 def id @id end |
Class Method Details
.from_hash(hash) ⇒ Object
384 385 386 387 388 |
# File 'lib/supabase/auth/types.rb', line 384 def self.from_hash(hash) return nil if hash.nil? new(id: hash["id"] || hash[:id]) end |