Class: BaitLibraryType

Inherits:
ApplicationRecord show all
Includes:
SharedBehaviour::Named
Defined in:
app/models/bait_library_type.rb

Overview

Bait libraries come in two types, custom and standard, which can affect costs.

Instance Method Summary collapse

Methods included from SharedBehaviour::Named

included

Methods inherited from ApplicationRecord

convert_labware_to_receptacle_for, find_by_id_or_name, find_by_id_or_name!

Methods included from Warren::BroadcastMessages

#broadcast, included, #queue_associated_for_broadcast, #queue_for_broadcast, #warren

Instance Method Details

#hideObject


18
19
20
21
# File 'app/models/bait_library_type.rb', line 18

def hide
  self.visible = false
  save!
end