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



1552
1553
1554
1555
1556
# File 'lib/schemas.rb', line 1552

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

.from_json!(json) ⇒ Object



1558
1559
1560
# File 'lib/schemas.rb', line 1558

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

Instance Method Details

#to_dynamicObject



1562
1563
1564
1565
# File 'lib/schemas.rb', line 1562

def to_dynamic
  {
  }
end

#to_json(options = nil) ⇒ Object



1567
1568
1569
# File 'lib/schemas.rb', line 1567

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