app/jobs/make_change.rb in change_manager-0.0.1 vs app/jobs/make_change.rb in change_manager-0.0.2
- old
+ new
@@ -2,8 +2,11 @@
def self.queue
:change
end
def self.perform(change_id)
- ChangeManager::Manager.notify(change_id)
+ puts 'job started with id ' + change_id.to_s
+ if ChangeManager::Manager.notify(change_id)
+ puts 'job finished'
+ end
end
end
\ No newline at end of file