Class: CircleCI::Parallel::Task::MockMaster::MockDownloader Private

Inherits:
Downloader
  • Object
show all
Defined in:
lib/circleci/parallel/task/mock_master.rb

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Instance Method Summary collapse

Instance Method Details

#mark_as_downloadedObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



23
24
25
# File 'lib/circleci/parallel/task/mock_master.rb', line 23

def mark_as_downloaded
  File.write(DOWNLOAD_MARKER_FILE, '')
end

#ready_for_download?Boolean

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns:

  • (Boolean)


15
16
17
# File 'lib/circleci/parallel/task/mock_master.rb', line 15

def ready_for_download?
  true
end

#scpObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



19
20
21
# File 'lib/circleci/parallel/task/mock_master.rb', line 19

def scp
  true
end