Class: Alephant::Broker::LoadStrategy::S3::Archived

Inherits:
Base
  • Object
show all
Defined in:
lib/alephant/broker/load_strategy/s3/archived.rb

Instance Attribute Summary

Attributes inherited from Base

#cached

Instance Method Summary collapse

Methods inherited from Base

#initialize, #load

Constructor Details

This class inherits a constructor from Alephant::Broker::LoadStrategy::S3::Base

Instance Method Details

#s3_path(component_meta) ⇒ Object



8
9
10
11
12
# File 'lib/alephant/broker/load_strategy/s3/archived.rb', line 8

def s3_path(component_meta)
  component_meta.id.tap do |location|
    raise InvalidCacheKey if location.nil?
  end
end