Module: Resync::Client::Mixins::ZippedResource
- Includes:
- Downloadable
- Defined in:
- lib/resync/client/mixins/zipped_resource.rb
Overview
A resource that refers to a zipped bitstream package.
Instance Attribute Summary
Attributes included from ClientDelegator
Instance Method Summary collapse
-
#zip_package ⇒ Resync::Client::Zip::ZipPackage
Provides the contents of this resource as a Zip::ZipPackage, downloading it to a temporary file if necessary.
Methods included from Downloadable
#download_to_file, #download_to_temp_file, #get, #get_and_parse
Methods included from ClientDelegator
Instance Method Details
#zip_package ⇒ Resync::Client::Zip::ZipPackage
Provides the contents of this resource as a Zip::ZipPackage, downloading it to a temporary file if necessary.
14 15 16 |
# File 'lib/resync/client/mixins/zipped_resource.rb', line 14 def zip_package @zip_package ||= Resync::Client::Zip::ZipPackage.new(download_to_temp_file) end |