lib/duracloud/bit_integrity_report.rb in duracloud-client-0.1.1 vs lib/duracloud/bit_integrity_report.rb in duracloud-client-0.1.2

- old
+ new

@@ -1,9 +1,10 @@ require "date" module Duracloud class BitIntegrityReport + include TSV SUCCESS = "SUCCESS".freeze FAILURE = "FAILURE".freeze COMPLETION_DATE_HEADER = "Bit-Integrity-Report-Completion-Date".freeze @@ -25,13 +26,9 @@ DateTime.parse(properties[COMPLETION_DATE_HEADER].first) end def result properties[RESULT_HEADER].first - end - - def csv(opts = {}) - CSVReader.new(tsv, opts) end def success? result == SUCCESS end