Class: WorkItems::DataSync::Widgets::CurrentUserTodos

Inherits:
Base show all
Defined in:
app/services/work_items/data_sync/widgets/current_user_todos.rb

Constant Summary

Constants inherited from Base

Base::BATCH_SIZE

Constants inherited from Issuable::Callbacks::Base

Issuable::Callbacks::Base::Error

Instance Attribute Summary

Attributes inherited from Base

#current_user, #target_work_item, #work_item

Instance Method Summary collapse

Methods inherited from Base

#initialize

Methods inherited from Callbacks::Base

#raise_error

Methods inherited from Issuable::Callbacks::Base

#after_create, #after_initialize, #after_save, #after_update, #after_update_commit, #before_create, #before_update, #initialize

Methods included from Gitlab::Allowable

#can?, #can_all?, #can_any?

Constructor Details

This class inherits a constructor from WorkItems::DataSync::Widgets::Base

Instance Method Details

#after_save_commitObject



7
8
9
# File 'app/services/work_items/data_sync/widgets/current_user_todos.rb', line 7

def after_save_commit
  # copy todos
end

#post_move_cleanupObject



11
12
13
# File 'app/services/work_items/data_sync/widgets/current_user_todos.rb', line 11

def post_move_cleanup
  # do it
end