Class: WebAuthn

Inherits:
Dry::Struct
  • Object
show all
Defined in:
lib/schemas.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.from_dynamic!(d) ⇒ Object



1405
1406
1407
1408
1409
# File 'lib/schemas.rb', line 1405

def self.from_dynamic!(d)
  d = Types::Hash[d]
  new(
  )
end

.from_json!(json) ⇒ Object



1411
1412
1413
# File 'lib/schemas.rb', line 1411

def self.from_json!(json)
  from_dynamic!(JSON.parse(json))
end

Instance Method Details

#to_dynamicObject



1415
1416
1417
1418
# File 'lib/schemas.rb', line 1415

def to_dynamic
  {
  }
end

#to_json(options = nil) ⇒ Object



1420
1421
1422
# File 'lib/schemas.rb', line 1420

def to_json(options = nil)
  JSON.generate(to_dynamic, options)
end