Class: ContentCaching::Adapter::Abstract

Inherits:
Object
  • Object
show all
Defined in:
lib/content_caching/adapters/abstract.rb

Direct Known Subclasses

AwsAdapter, FsAdapter

Instance Method Summary collapse

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, options
  @wrapper = wrapper
  @options = options
end

Instance Method Details

#deleteObject

Raises:

  • (NotImplementedError)


18
19
20
# File 'lib/content_caching/adapters/abstract.rb', line 18

def delete
  raise NotImplementedError
end

#store(content) ⇒ Object

Raises:

  • (NotImplementedError)


10
11
12
# File 'lib/content_caching/adapters/abstract.rb', line 10

def store content
  raise NotImplementedError
end

#urlObject

Raises:

  • (NotImplementedError)


14
15
16
# File 'lib/content_caching/adapters/abstract.rb', line 14

def url
  raise NotImplementedError
end