Class: WebAuthn::PublicKeyCredential::Entity

Inherits:
Object
  • Object
show all
Includes:
JSONSerializer
Defined in:
lib/webauthn/public_key_credential/entity.rb

Direct Known Subclasses

RPEntity, UserEntity

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from JSONSerializer

#as_json

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

#nameObject (readonly)

Returns the value of attribute name.



8
9
10
# File 'lib/webauthn/public_key_credential/entity.rb', line 8

def name
  @name
end