Module: Resync::Client::Mixins::ZippedResourceList
- Included in:
- Resync::ChangeDump, ResourceDump
- Defined in:
- lib/resync/client/mixins/zipped_resource_list.rb
Instance Method Summary collapse
- #resources=(value) ⇒ Object
-
#zip_packages ⇒ Resync::Client::Zip::ZipPackages
A list (downloaded lazily) of the Zip::ZipPackages for each resource.
Instance Method Details
#resources=(value) ⇒ Object
9 10 11 12 13 14 15 16 |
# File 'lib/resync/client/mixins/zipped_resource_list.rb', line 9 def resources=(value) super resources.each do |r| class << r prepend ZippedResource end end end |
#zip_packages ⇒ Resync::Client::Zip::ZipPackages
A list (downloaded lazily) of the Zip::ZipPackages for each resource
20 21 22 |
# File 'lib/resync/client/mixins/zipped_resource_list.rb', line 20 def zip_packages @zip_packages ||= Resync::Client::Zip::ZipPackages.new(resources) end |