Class: WebAuthn::CredentialEntity

Inherits:
Object
  • Object
show all
Defined in:
lib/webauthn/credential_entity.rb

Direct Known Subclasses

CredentialRPEntity, CredentialUserEntity

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name:) ⇒ CredentialEntity

Returns a new instance of CredentialEntity.



7
8
9
# File 'lib/webauthn/credential_entity.rb', line 7

def initialize(name:)
  @name = name
end

Instance Attribute Details

#nameObject (readonly)

Returns the value of attribute name.



5
6
7
# File 'lib/webauthn/credential_entity.rb', line 5

def name
  @name
end