Class: Mihari::Structs::VirusTotalIntelligence::Meta

Inherits:
Dry::Struct
  • Object
show all
Defined in:
lib/mihari/structs/virustotal_intelligence.rb

Class Method Summary collapse

Class Method Details

.from_dynamic!(d) ⇒ Object



54
55
56
57
58
59
# File 'lib/mihari/structs/virustotal_intelligence.rb', line 54

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