Class: Uploadcare::Rails::StoreGroupJob

Inherits:
ActiveJob::Base
  • Object
show all
Defined in:
lib/uploadcare/rails/jobs/store_group_job.rb

Overview

A job storing group files to Uploadcare

Instance Method Summary collapse

Instance Method Details

#perform(group_id) ⇒ Object



9
10
11
# File 'lib/uploadcare/rails/jobs/store_group_job.rb', line 9

def perform(group_id)
  Uploadcare::GroupApi.store_group(group_id) if group_id
end