Method: Paperclip::Storage::AzureStorage#flush_deletes

Defined in:
lib/paperclip/storage/azure_storage.rb

#flush_deletesObject



36
37
38
39
40
41
# File 'lib/paperclip/storage/azure_storage.rb', line 36

def flush_deletes
  container = @options[:container]
  @queued_for_delete.each { |path| storage_client.delete_blob(container, path, timeout: 60) }

  @queued_for_delete = []
end