Class: PushmiPullyu::AIP::Creator
- Inherits:
-
Object
- Object
- PushmiPullyu::AIP::Creator
- Defined in:
- lib/pushmi_pullyu/aip/creator.rb
Defined Under Namespace
Classes: BagInvalid
Instance Method Summary collapse
-
#initialize(noid, aip_directory, aip_filename) ⇒ Creator
constructor
Assumption: the AIP has already been downloaded.
- #run ⇒ Object
Constructor Details
#initialize(noid, aip_directory, aip_filename) ⇒ Creator
Assumption: the AIP has already been downloaded
11 12 13 14 15 |
# File 'lib/pushmi_pullyu/aip/creator.rb', line 11 def initialize(noid, aip_directory, aip_filename) @noid = noid @aip_directory = aip_directory @aip_filename = aip_filename end |
Instance Method Details
#run ⇒ Object
17 18 19 20 |
# File 'lib/pushmi_pullyu/aip/creator.rb', line 17 def run bag_aip tar_bag end |