Class: Note

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

Instance Method Summary collapse

Instance Method Details

#add_persistent_ids(persistent_ids, parent_id, parent_type) ⇒ Object



11
12
13
14
15
16
17
# File 'backend/app/model/note.rb', line 11

def add_persistent_ids(persistent_ids, parent_id, parent_type)
  persistent_ids.each do |id|
    add_note_persistent_id(:persistent_id => id,
                           :parent_id => parent_id,
                           :parent_type => parent_type)
  end
end