sanger/sequencescape

View on GitHub
app/models/broadcast_event/sample_manifest_created.rb

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
# frozen_string_literal: true
class BroadcastEvent::SampleManifestCreated < BroadcastEvent
  set_event_type 'sample_manifest.created'

  seed_class SampleManifest

  has_subject(:study, :study)
  has_subjects(:labware, :labware)

  has_metadata(:labware_type, :asset_type)
  has_metadata(:supplier, :supplier_name)
end