Sha256: 5d7b113d06b190e2e95f32adc1beec9c341f2b4d8bdae9a52bb8a1f85ac6b6a6
Contents?: true
Size: 613 Bytes
Versions: 11
Compression:
Stored size: 613 Bytes
Contents
require_relative '../zip' require_relative 'downloadable' module Resync class Client module Mixins # A resource that refers to a zipped bitstream package. module ZippedResource prepend Downloadable # Provides the contents of this resource as a {Resync::Client::Zip::ZipPackage}, downloading # it to a temporary file if necessary. # @return [Resync::Client::Zip::ZipPackage] the zipped contents of this resource def zip_package @zip_package ||= Resync::Client::Zip::ZipPackage.new(download_to_temp_file) end end end end end
Version data entries
11 entries across 11 versions & 1 rubygems