sanger/sequencescape

View on GitHub
app/models/event/asset_set_qc_state_event.rb

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
# frozen_string_literal: true
class Event::AssetSetQcStateEvent < Event
  class << self
    def create_updated!(asset, reason)
      create!(eventful: asset, family: 'update', content: reason, message: reason)
    end
  end
end