Class: Files::WebauthnSignRequest
- Inherits:
-
Object
- Object
- Files::WebauthnSignRequest
- Defined in:
- lib/files.com/models/webauthn_sign_request.rb
Instance Attribute Summary collapse
-
#attributes ⇒ Object
readonly
Returns the value of attribute attributes.
-
#options ⇒ Object
readonly
Returns the value of attribute options.
Instance Method Summary collapse
-
#initialize(attributes = {}, options = {}) ⇒ WebauthnSignRequest
constructor
A new instance of WebauthnSignRequest.
-
#webauthn_authentication_options ⇒ Object
array(object) - WebAuthn / FIDO 2 authentication options.
Constructor Details
#initialize(attributes = {}, options = {}) ⇒ WebauthnSignRequest
Returns a new instance of WebauthnSignRequest.
7 8 9 10 |
# File 'lib/files.com/models/webauthn_sign_request.rb', line 7 def initialize(attributes = {}, = {}) @attributes = attributes || {} @options = || {} end |
Instance Attribute Details
#attributes ⇒ Object (readonly)
Returns the value of attribute attributes.
5 6 7 |
# File 'lib/files.com/models/webauthn_sign_request.rb', line 5 def attributes @attributes end |
#options ⇒ Object (readonly)
Returns the value of attribute options.
5 6 7 |
# File 'lib/files.com/models/webauthn_sign_request.rb', line 5 def @options end |
Instance Method Details
#webauthn_authentication_options ⇒ Object
array(object) - WebAuthn / FIDO 2 authentication options
13 14 15 |
# File 'lib/files.com/models/webauthn_sign_request.rb', line 13 def @attributes[:webauthn_authentication_options] end |