Class: Search::DeprecatedSearch

Inherits:
Search show all
Defined in:
app/models/search/deprecated_search.rb

Overview

Deprecating a search - Update the existing class to inherit from this - Push out a release - Update the existing class records to use this class directly - Remove the original class in a subsequent release

Instance Method Summary collapse

Methods included from Uuid::Uuidable

included, #unsaved_uuid!, #uuid

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

#scope(_) ⇒ Object



9
10
11
# File 'app/models/search/deprecated_search.rb', line 9

def scope(_)
  raise ::Core::Service::DeprecatedAction
end