Module: Request::HasPrimerPanel

Extended by:
ActiveSupport::Concern
Included in:
IlluminaHtp::Requests::GbsRequest, IlluminaHtp::Requests::HeronRequest, IlluminaHtp::Requests::HeronTailedRequest
Defined in:
app/models/concerns/request/has_primer_panel.rb

Overview

Note:

The actual primer_panel association is set-up on Metadata::Metadata

Include in Request classes to add tracking of primer panels Sets up: - An Attributable::association for primer_panel (Used to help render forms for requests) - Sets primer_panel as required on create - Adds primer_panel and primer_panel_id methods to the request - Adds primer panel information to the pool_information

Instance Method Summary collapse

Instance Method Details

#update_pool_information(pool_information) ⇒ Object



24
25
26
27
# File 'app/models/concerns/request/has_primer_panel.rb', line 24

def update_pool_information(pool_information)
  super
  pool_information[:primer_panel] = .primer_panel.summary_hash
end