Sha256: 865b38b46881081b56e787e9e8c2f8b612e421c8c0ecd60cda82f0bc528de00b
Contents?: true
Size: 408 Bytes
Versions: 2
Compression:
Stored size: 408 Bytes
Contents
module CurationConcerns module FileSet module BelongsToUploadSets extend ActiveSupport::Concern included do belongs_to :upload_set, predicate: ActiveFedora::RDF::Fcrepo::RelsExt.isPartOf end # Is this file in the middle of being processed by an UploadSet? def processing? try(:upload_set).try(:status) == ['processing'.freeze] end end end end
Version data entries
2 entries across 2 versions & 1 rubygems