Class: Mumuki::Domain::ProgressTransfer::Copy

Inherits:
Base
  • Object
show all
Defined in:
lib/mumuki/domain/progress_transfer/copy.rb

Instance Method Summary collapse

Methods inherited from Base

#execute!, #initialize, #notify_transfer!, #post_transfer!, #pre_transfer!, #transfer!, #validate_transferrable!

Constructor Details

This class inherits a constructor from Mumuki::Domain::ProgressTransfer::Base

Instance Method Details

#do_transfer!Object



6
7
8
# File 'lib/mumuki/domain/progress_transfer/copy.rb', line 6

def do_transfer!
  progress_item._copy_to!(destination_organization)
end

#transfer_typeObject



2
3
4
# File 'lib/mumuki/domain/progress_transfer/copy.rb', line 2

def transfer_type
  :copy
end