class Threatinator::Fetcher

Public Class Methods

new(opts = {}) click to toggle source

@param [Hash] opts An options hash. See subclasses for details.

# File lib/threatinator/fetcher.rb, line 5
def initialize(opts = {})
end

Public Instance Methods

==(other) click to toggle source
# File lib/threatinator/fetcher.rb, line 13
def ==(other)
  true
end
eql?(other) click to toggle source
# File lib/threatinator/fetcher.rb, line 17
def eql?(other)
  self.class == other.class &&
    self == other
end
fetch() click to toggle source

@return [IO] an IO object

# File lib/threatinator/fetcher.rb, line 9
def fetch
  raise NotImplementedError.new("#{self.class}#fetch not implemented!")
end