Class: WebAuthn::PublicKeyCredential::RPEntity

Inherits:
Entity
  • Object
show all
Defined in:
lib/webauthn/public_key_credential/rp_entity.rb

Instance Attribute Summary collapse

Attributes inherited from Entity

#name

Instance Method Summary collapse

Methods included from JSONSerializer

#as_json

Constructor Details

#initialize(id: nil, **keyword_arguments) ⇒ RPEntity

Returns a new instance of RPEntity.



10
11
12
13
14
# File 'lib/webauthn/public_key_credential/rp_entity.rb', line 10

def initialize(id: nil, **keyword_arguments)
  super(**keyword_arguments)

  @id = id
end

Instance Attribute Details

#idObject (readonly)

Returns the value of attribute id.



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

def id
  @id
end