Class: WebAuthn::PublicKeyCredential::Entity
- Inherits:
-
Object
- Object
- WebAuthn::PublicKeyCredential::Entity
- Includes:
- JSONSerializer
- Defined in:
- lib/webauthn/public_key_credential/entity.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(name:) ⇒ Entity
constructor
A new instance of Entity.
Methods included from JSONSerializer
Constructor Details
#initialize(name:) ⇒ Entity
Returns a new instance of Entity.
10 11 12 |
# File 'lib/webauthn/public_key_credential/entity.rb', line 10 def initialize(name:) @name = name end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
8 9 10 |
# File 'lib/webauthn/public_key_credential/entity.rb', line 8 def name @name end |