Module: Resync::Client::Mixins::BitstreamResource
- Defined in:
- lib/resync/client/mixins/bitstream_resource.rb
Instance Attribute Summary collapse
-
#zip_package_delegate ⇒ Object
Returns the value of attribute zip_package_delegate.
Instance Method Summary collapse
-
#bitstream ⇒ Bitstream
The bitstream for this resource.
-
#containing_package ⇒ ZipPackage
The package containing the bitstream for this resource.
Instance Attribute Details
#zip_package_delegate ⇒ Object
Returns the value of attribute zip_package_delegate.
12 13 14 |
# File 'lib/resync/client/mixins/bitstream_resource.rb', line 12 def zip_package_delegate @zip_package_delegate end |
Instance Method Details
#bitstream ⇒ Bitstream
Returns the bitstream for this resource.
20 21 22 |
# File 'lib/resync/client/mixins/bitstream_resource.rb', line 20 def bitstream containing_package.bitstream_for(self) end |
#containing_package ⇒ ZipPackage
Returns the package containing the bitstream for this resource.
15 16 17 |
# File 'lib/resync/client/mixins/bitstream_resource.rb', line 15 def containing_package @zip_package_delegate.zip_package end |