Method: Threatinator::Parsers::JSON::Record#initialize

Defined in:
lib/threatinator/parsers/json/record.rb

#initialize(object, opts = {}) ⇒ Record

Returns a new instance of Record.



8
9
10
11
# File 'lib/threatinator/parsers/json/record.rb', line 8

def initialize(object, opts = {})
  @key = opts.delete(:key)
  super(object, opts)
end