Module: PlatePurpose::Initial

Included in:
IlluminaC::AlLibsTaggedPurpose, InitialPurpose
Defined in:
app/models/plate_purpose/initial.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.included(base) ⇒ Object


2
3
4
5
6
# File 'app/models/plate_purpose/initial.rb', line 2

def self.included(base)
  base.class_eval do
    include PlatePurpose::WorksOnLibraryRequests
  end
end

Instance Method Details

#transition_to(plate, state, user, contents = nil, customer_accepts_responsibility = false) ⇒ Object

Initial plates in the pulldown pipelines change the state of the pulldown requests they are being created for to exactly the same state.


10
11
12
13
# File 'app/models/plate_purpose/initial.rb', line 10

def transition_to(plate, state, user, contents = nil, customer_accepts_responsibility = false)
  broadcast_library_start(plate, user)
  super
end