Module: CurationConcerns::FileSet::BelongsToUploadSets
- Extended by:
- ActiveSupport::Concern
- Included in:
- CurationConcerns::FileSetBehavior
- Defined in:
- app/models/concerns/curation_concerns/file_set/belongs_to_upload_sets.rb
Instance Method Summary collapse
-
#processing? ⇒ Boolean
Is this file in the middle of being processed by an UploadSet?.
Instance Method Details
#processing? ⇒ Boolean
Is this file in the middle of being processed by an UploadSet?
10 11 12 |
# File 'app/models/concerns/curation_concerns/file_set/belongs_to_upload_sets.rb', line 10 def processing? try(:upload_set).try(:status) == ['processing'.freeze] end |