sanger/sequencescape

View on GitHub
app/api/endpoints/qc_files.rb

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
# frozen_string_literal: true
# Controls API V1 {::Core::Endpoint::Base endpoints} for QcFiles
class Endpoints::QcFiles < Core::Endpoint::Base
  model do
    # action(:create, :to => :standard_create!)
  end

  instance do
    # belongs_to :plate, :json => 'plate'
    has_file(content_type: 'sequencescape/qc_file')
  end
end