Class: Api::Messages::WellStockResourceIO

Inherits:
Base
  • Object
show all
Defined in:
app/models/api/messages/well_stock_resource_io.rb

Overview

Used to broadcast stock wells to the UWH. Tubes have a separate template, as the information is mapped slightly differently. These messages are not broadcast automatically when database events happen, like some others They are instead broadcast when importing samples, e.g. on sample manifest upload See register_stock! in Asset model, and sample_manifest > core_behaviour class for where it's called