Dwca::Packer::Data

Parsed documentation:
View on GitHub
Wrapper to build DWCA zipfiles for a specific project.
See tasks/accesssions/report/dwc_controller.rb for use.

With help from http://thinkingeek.com/2013/11/15/create-temporary-zip-file-send-response-rails/

Usage:
 begin
  data = Dwca::Packer::Data.new(DwcOccurrence.where(project_id: sessions_current_project_id)
 ensure
  data.cleanup
 end

Always use the ensure/data.cleanup pattern!
Suggestions:
Please help! Open an issue on GitHub if this assessment is incorrect.