Class: AgentFunction
- Inherits:
-
Sequel::Model
- Object
- Sequel::Model
- AgentFunction
- Defined in:
- backend/app/model/agent_function.rb
Class Method Summary collapse
Class Method Details
.touch_records(obj) ⇒ Object
25 26 27 28 29 30 31 32 |
# File 'backend/app/model/agent_function.rb', line 25 def self.touch_records(obj) [{ type: Subject, ids: ( AgentManager.linked_subjects(obj.id, :subject_agent_subrecord, :agent_function) + AgentManager.linked_subjects(obj.id, :subject_agent_subrecord_place, :agent_function) ).uniq }] end |