Class: CiCache::Get

Inherits:
Object
  • Object
show all
Defined in:
lib/ci-cache/get.rb

Instance Method Summary collapse

Constructor Details

#initialize(context) ⇒ Get

Returns a new instance of Get.



4
5
6
7
# File 'lib/ci-cache/get.rb', line 4

def initialize(context)
  @context = context
  @storage = Storage.new(context)
end

Instance Method Details

#runObject



9
10
11
12
13
# File 'lib/ci-cache/get.rb', line 9

def run
  download_archive
  download_hash_file
  extract_archive
end