Class: AgentPlace

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

Class Method Summary collapse

Class Method Details

.touch_records(obj) ⇒ Object



22
23
24
25
26
27
28
# File 'backend/app/model/agent_place.rb', line 22

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