Class: Authenticator

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



1453
1454
1455
1456
1457
# File 'lib/schemas.rb', line 1453

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

.from_json!(json) ⇒ Object



1459
1460
1461
# File 'lib/schemas.rb', line 1459

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

Instance Method Details

#to_dynamicObject



1463
1464
1465
1466
# File 'lib/schemas.rb', line 1463

def to_dynamic
  {
  }
end

#to_json(options = nil) ⇒ Object



1468
1469
1470
# File 'lib/schemas.rb', line 1468

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