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

alias_association, convert_labware_to_receptacle_for, find_by_id_or_name, find_by_id_or_name!

Methods included from Squishify

extended

Instance Method Details

#hideObject



20
21
22
23
# File 'app/models/bait_library_type.rb', line 20

def hide
  self.visible = false
  save!
end