Class: Search::FindAssetByBarcode
- Inherits:
-
Search
- Object
- ActiveRecord::Base
- ApplicationRecord
- Search
- Search::FindAssetByBarcode
- Defined in:
- app/models/search/find_asset_by_barcode.rb
Overview
rubocop:todo Style/Documentation
Instance Method Summary collapse
Methods included from Uuid::Uuidable
included, #unsaved_uuid!, #uuid
Methods inherited from ApplicationRecord
convert_labware_to_receptacle_for, find_by_id_or_name, find_by_id_or_name!
Methods included from Squishify
Methods included from Warren::BroadcastMessages
#broadcast, included, #queue_associated_for_broadcast, #queue_for_broadcast, #warren
Instance Method Details
#scope(criteria) ⇒ Object
2 3 4 |
# File 'app/models/search/find_asset_by_barcode.rb', line 2 def scope(criteria) Labware.(criteria['barcode']) end |