Method: HasSecurePasskey::OptionsForCreate#initialize

Defined in:
lib/has_secure_passkey/options_for_create.rb

#initialize(authenticatable:, options: nil, challenge: nil) ⇒ OptionsForCreate

Returns a new instance of OptionsForCreate.



14
15
16
17
18
# File 'lib/has_secure_passkey/options_for_create.rb', line 14

def initialize(authenticatable:, options: nil, challenge: nil)
  @authenticatable = authenticatable
  @options = options
  @challenge = challenge
end