Class: Imagekitio::Resources::Cache

Inherits:
Object
  • Object
show all
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

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.

Parameters:



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

#invalidationImagekitio::Resources::Cache::Invalidation (readonly)



7
8
9
# File 'lib/imagekitio/resources/cache.rb', line 7

def invalidation
  @invalidation
end