Method: Cloudinary::Cache::BreakpointsCache#fetch

Defined in:
lib/cloudinary/cache/breakpoints_cache.rb

#fetch(public_id, options) ⇒ Object



11
12
13
14
15
# File 'lib/cloudinary/cache/breakpoints_cache.rb', line 11

def fetch(public_id, options)
  upload_type, resource_type, transformation, format = options_to_parameters(options)
  @adapter.set(public_id, upload_type, resource_type, transformation, format, &Proc.new)

end