Class: Mumuki::Domain::ProgressTransfer::Move
- Inherits:
-
Base
- Object
- Base
- Mumuki::Domain::ProgressTransfer::Move
show all
- Defined in:
- lib/mumuki/domain/progress_transfer/move.rb
Instance Method Summary
collapse
Methods inherited from Base
#execute!, #initialize, #notify_transfer!, #post_transfer!, #transfer!, #validate_transferrable!
Instance Method Details
#do_transfer! ⇒ Object
11
12
13
|
# File 'lib/mumuki/domain/progress_transfer/move.rb', line 11
def do_transfer!
progress_item._move_to!(destination_organization)
end
|
#pre_transfer! ⇒ Object
6
7
8
9
|
# File 'lib/mumuki/domain/progress_transfer/move.rb', line 6
def pre_transfer!
super
progress_item.dirty_parent_by_submission!
end
|
#transfer_type ⇒ Object
2
3
4
|
# File 'lib/mumuki/domain/progress_transfer/move.rb', line 2
def transfer_type
:move
end
|