Sha256: 904171c936ec2ff8049b371ba18775418f2dcf27d07b3ea2fd7340c84fa64d1b
Contents?: true
Size: 557 Bytes
Versions: 2
Compression:
Stored size: 557 Bytes
Contents
require_relative 'abstract' require_relative 'implementation' require_relative 'aws' module ContentCaching module Adapter class AwsAdapter < Abstract include Implementation def initialize(wrapper, options) super end def url adapter.url document_path end def store content adapter.store document_path, content end def delete adapter.delete document_path end private def adapter @adapter ||= Aws::new(@options) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
content_caching-0.1.1 | lib/content_caching/adapters/aws_adapter.rb |
content_caching-0.1.0 | lib/content_caching/adapters/aws_adapter.rb |