Class: Limber::QcFile
- Inherits:
-
Sequencescape::QcFile
- Object
- Sequencescape::QcFile
- Limber::QcFile
- Defined in:
- app/models/limber/qc_file.rb
Overview
rubocop:todo Style/Documentation
Instance Method Summary collapse
-
#as_json(_args) ⇒ Object
Done this here for the moment, could look at using ActiveModel::Serializers in future.
Instance Method Details
#as_json(_args) ⇒ Object
Done this here for the moment, could look at using ActiveModel::Serializers in future.
6 7 8 |
# File 'app/models/limber/qc_file.rb', line 6 def as_json(_args) { filename: filename, size: size, uuid: uuid, created: created_at.to_fs(:long) } end |