app/models/proquest_behaviors.rb
# Export a zipped directory of an ETD in the format expected by ProQuest
# @return [String] the full path of the exported .zip file
Export a zipped directory of an ETD in the format expected by ProQuest
Export a zipped directory of an ETD in the format expected by ProQuest
def make_export_directory
    config = YAML.safe_load(ERB.new(File.read(Rails.root.join('config', 'proquest.yml'))).result)[Rails.env]
    dirname = config["proquest_export_directory"]
    FileUtils.mkdir_p dirname
    dirname
  end
def make_export_directory config = YAML . safe_load ( ERB . new ( File . read ( Rails . root . join ( 'config' , 'proquest.yml' ) ) ) . result ) [ Rails . env ] dirname = config [ "proquest_export_directory" ] FileUtils . mkdir_p dirname dirname end
Export a zipped directory of an ETD in the format expected by ProQuest
Export a zipped directory of an ETD in the format expected by ProQuest
the full path of the exported .zip file
the full path of the exported . zip file
String