class Threatinator::Parsers::JSON::Record

Attributes

key[R]

Public Class Methods

new(object, opts = {}) click to toggle source
Calls superclass method Threatinator::Record::new
# File lib/threatinator/parsers/json/record.rb, line 8
def initialize(object, opts = {})
  @key = opts.delete(:key)
  super(object, opts)
end

Public Instance Methods

==(other) click to toggle source
Calls superclass method Threatinator::Record#==
# File lib/threatinator/parsers/json/record.rb, line 13
def ==(other)
  @key == other.key &&
    super(other)
end