Class: DaimonSkycrawlers::Storage::Base
- Inherits:
-
Object
- Object
- DaimonSkycrawlers::Storage::Base
- Includes:
- ConfigMixin, LoggerMixin
- Defined in:
- lib/daimon_skycrawlers/storage/base.rb
Overview
Base class of storage implementation
Instance Method Summary collapse
-
#read(message = {}) ⇒ Object
Fetch page identified by url.
-
#save(data) ⇒ Object
Save data to storage.
Instance Method Details
#read(message = {}) ⇒ Object
Fetch page identified by url
Override this method in subclass
34 35 36 |
# File 'lib/daimon_skycrawlers/storage/base.rb', line 34 def read( = {}) raise "Implement this in subclass" end |
#save(data) ⇒ Object
Save data to storage
Override this method in subclass
23 24 25 |
# File 'lib/daimon_skycrawlers/storage/base.rb', line 23 def save(data) raise "Implement this in subclass" end |