Class: ContentCaching::Adapter::AwsAdapter
- Includes:
- Implementation
- Defined in:
- lib/content_caching/adapters/aws_adapter.rb
Instance Method Summary collapse
- #delete ⇒ Object
-
#initialize(wrapper, options) ⇒ AwsAdapter
constructor
A new instance of AwsAdapter.
- #store(content) ⇒ Object
- #url ⇒ Object
Constructor Details
#initialize(wrapper, options) ⇒ AwsAdapter
Returns a new instance of AwsAdapter.
10 11 12 |
# File 'lib/content_caching/adapters/aws_adapter.rb', line 10 def initialize(wrapper, ) super end |
Instance Method Details
#delete ⇒ Object
22 23 24 |
# File 'lib/content_caching/adapters/aws_adapter.rb', line 22 def delete adapter.delete document_path end |
#store(content) ⇒ Object
18 19 20 |
# File 'lib/content_caching/adapters/aws_adapter.rb', line 18 def store content adapter.store document_path, content end |
#url ⇒ Object
14 15 16 |
# File 'lib/content_caching/adapters/aws_adapter.rb', line 14 def url adapter.url document_path end |