Class: CreateUpdateDestroyAsync::Jobs::Update

Inherits:
Base
  • Object
show all
Defined in:
lib/create_update_destroy_async/jobs/update.rb

Instance Method Summary collapse

Instance Method Details

#perform(record, attributes = {}) ⇒ Object



6
7
8
# File 'lib/create_update_destroy_async/jobs/update.rb', line 6

def perform(record, attributes = {})
  record.update(attributes)
end