Module: Event::PlateEvents
- Included in:
- Asset
- Defined in:
- app/models/event/plate_events.rb
Instance Method Summary collapse
- #event_date(key) ⇒ Object
- #fluidigm_stamp_date ⇒ Object
- #gel_qc_date ⇒ Object
- #pico_date ⇒ Object
- #qc_started_date ⇒ Object
- #sequenom_stamp_date ⇒ Object
Instance Method Details
#event_date(key) ⇒ Object
24 25 26 |
# File 'app/models/event/plate_events.rb', line 24 def event_date(key) events.loaded? ? event_from_object(key) : event_from_database(key) end |
#fluidigm_stamp_date ⇒ Object
19 20 21 22 |
# File 'app/models/event/plate_events.rb', line 19 def fluidigm_stamp_date event_key = PlatesHelper.event_family_for_pick(configatron.fetch(:sta_plate_purpose_name)) event_date(event_key) end |
#gel_qc_date ⇒ Object
3 4 5 |
# File 'app/models/event/plate_events.rb', line 3 def gel_qc_date event_date('gel_analysed') end |
#pico_date ⇒ Object
7 8 9 |
# File 'app/models/event/plate_events.rb', line 7 def pico_date event_date('pico_analysed') end |
#qc_started_date ⇒ Object
11 12 13 |
# File 'app/models/event/plate_events.rb', line 11 def qc_started_date event_date('create_dilution_plate_purpose') end |
#sequenom_stamp_date ⇒ Object
15 16 17 |
# File 'app/models/event/plate_events.rb', line 15 def sequenom_stamp_date event_date('create_for_sequenom') end |