Class: Imagekitio::Resources::Cache
- Inherits:
-
Object
- Object
- Imagekitio::Resources::Cache
- Defined in:
- lib/imagekitio/resources/cache.rb,
lib/imagekitio/resources/cache/invalidation.rb
Defined Under Namespace
Classes: Invalidation
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize(client:) ⇒ Cache
constructor
private
A new instance of Cache.
Constructor Details
#initialize(client:) ⇒ Cache
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of Cache.
12 13 14 15 |
# File 'lib/imagekitio/resources/cache.rb', line 12 def initialize(client:) @client = client @invalidation = Imagekitio::Resources::Cache::Invalidation.new(client: client) end |
Instance Attribute Details
#invalidation ⇒ Imagekitio::Resources::Cache::Invalidation (readonly)
7 8 9 |
# File 'lib/imagekitio/resources/cache.rb', line 7 def invalidation @invalidation end |