Class: BaitLibrary::Supplier

Inherits:
ApplicationRecord show all
Defined in:
app/models/bait_library.rb

Overview

The company or individual who supplies the BaitLibrary

Instance Method Summary collapse

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


31
32
33
34
# File 'app/models/bait_library.rb', line 31

def hide
  self.visible = false
  save!
end