Class: Threatinator::Fetcher
- Inherits:
-
Object
- Object
- Threatinator::Fetcher
- Defined in:
- lib/threatinator/fetcher.rb
Direct Known Subclasses
Instance Method Summary collapse
- #==(other) ⇒ Object
- #eql?(other) ⇒ Boolean
-
#fetch ⇒ IO
An IO object.
-
#initialize(opts = {}) ⇒ Fetcher
constructor
A new instance of Fetcher.
Constructor Details
#initialize(opts = {}) ⇒ Fetcher
Returns a new instance of Fetcher.
5 6 |
# File 'lib/threatinator/fetcher.rb', line 5 def initialize(opts = {}) end |
Instance Method Details
#==(other) ⇒ Object
13 14 15 |
# File 'lib/threatinator/fetcher.rb', line 13 def ==(other) true end |
#eql?(other) ⇒ Boolean
17 18 19 20 |
# File 'lib/threatinator/fetcher.rb', line 17 def eql?(other) self.class == other.class && self == other end |
#fetch ⇒ IO
Returns an IO object.
9 10 11 |
# File 'lib/threatinator/fetcher.rb', line 9 def fetch raise NotImplementedError.new("#{self.class}#fetch not implemented!") end |