Class: Rafflesia::PasskeySuccessData
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Rafflesia::PasskeySuccessData
- Defined in:
- lib/rafflesia/auth/passkey_success_data.rb
Constant Summary collapse
- HASH_ATTRS =
{ success: :success }.freeze
Instance Attribute Summary collapse
-
#success ⇒ Object
Returns the value of attribute success.
Instance Method Summary collapse
-
#initialize(json) ⇒ PasskeySuccessData
constructor
A new instance of PasskeySuccessData.
Constructor Details
#initialize(json) ⇒ PasskeySuccessData
Returns a new instance of PasskeySuccessData.
14 15 16 17 18 |
# File 'lib/rafflesia/auth/passkey_success_data.rb', line 14 def initialize(json) super() hash = self.class.normalize(json) @success = hash[:success] end |
Instance Attribute Details
#success ⇒ Object
Returns the value of attribute success.
12 13 14 |
# File 'lib/rafflesia/auth/passkey_success_data.rb', line 12 def success @success end |