Class: Burden::StorageBackends::AbstractBackend
- Inherits:
-
Object
- Object
- Burden::StorageBackends::AbstractBackend
- Defined in:
- lib/burden/storage_backends/abstract_backend.rb
Instance Method Summary collapse
-
#initialize(config) ⇒ AbstractBackend
constructor
A new instance of AbstractBackend.
- #ready? ⇒ Boolean
- #runs ⇒ Object
Constructor Details
#initialize(config) ⇒ AbstractBackend
6 7 |
# File 'lib/burden/storage_backends/abstract_backend.rb', line 6 def initialize(config) end |
Instance Method Details
#ready? ⇒ Boolean
9 10 11 |
# File 'lib/burden/storage_backends/abstract_backend.rb', line 9 def ready? raise NotImplementedError.new('Method #ready? must be overwritten') end |
#runs ⇒ Object
13 14 15 |
# File 'lib/burden/storage_backends/abstract_backend.rb', line 13 def runs raise NotImplementedError.new('Method #runs must be overwritten') end |