Class: AgentResource

Inherits:
Sequel::Model
  • Object
show all
Defined in:
backend/app/model/agent_resource.rb

Class Method Summary collapse

Class Method Details

.touch_records(obj) ⇒ Object



20
21
22
23
24
25
26
# File 'backend/app/model/agent_resource.rb', line 20

def self.touch_records(obj)
  [{
   type: Subject, ids: (
     AgentManager.linked_subjects(obj.id, :subject_agent_subrecord_place, :agent_resource)
   ).uniq
  }]
end