Class: DaimonSkycrawlers::Storage::Base

Inherits:
Object
  • Object
show all
Includes:
ConfigMixin, LoggerMixin
Defined in:
lib/daimon_skycrawlers/storage/base.rb

Direct Known Subclasses

File, Null, RDB

Instance Method Summary collapse

Methods included from ConfigMixin

#initialize

Methods included from LoggerMixin

included, #initialize

Instance Method Details

#read(url) ⇒ Object



14
15
16
# File 'lib/daimon_skycrawlers/storage/base.rb', line 14

def read(url)
  raise "Implement this in subclass"
end

#save(url, headers, body) ⇒ Object



10
11
12
# File 'lib/daimon_skycrawlers/storage/base.rb', line 10

def save(url, headers, body)
  raise "Implement this in subclass"
end