Sha256: f9ad2e78988f3c99a867cd9d420a70ddf2e69e605bfb641e9d1d381fdd8263f3
Contents?: true
Size: 627 Bytes
Versions: 4
Compression:
Stored size: 627 Bytes
Contents
require 'resync/client/zip' require 'resync/client/mixins/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
4 entries across 4 versions & 1 rubygems