Class: ContentCaching::Adapter::Abstract
- Inherits:
-
Object
- Object
- ContentCaching::Adapter::Abstract
- Defined in:
- lib/content_caching/adapters/abstract.rb
Direct Known Subclasses
Instance Method Summary collapse
- #delete ⇒ Object
-
#initialize(wrapper, options) ⇒ Abstract
constructor
A new instance of Abstract.
- #store(content) ⇒ Object
- #url ⇒ Object
Constructor Details
#initialize(wrapper, options) ⇒ Abstract
Returns a new instance of Abstract.
5 6 7 8 |
# File 'lib/content_caching/adapters/abstract.rb', line 5 def initialize wrapper, @wrapper = wrapper @options = end |
Instance Method Details
#delete ⇒ Object
18 19 20 |
# File 'lib/content_caching/adapters/abstract.rb', line 18 def delete raise NotImplementedError end |
#store(content) ⇒ Object
10 11 12 |
# File 'lib/content_caching/adapters/abstract.rb', line 10 def store content raise NotImplementedError end |
#url ⇒ Object
14 15 16 |
# File 'lib/content_caching/adapters/abstract.rb', line 14 def url raise NotImplementedError end |