Class: Note
- Inherits:
-
Sequel::Model
- Object
- Sequel::Model
- Note
- Includes:
- ASModel, Publishable
- Defined in:
- backend/app/model/note.rb
Constant Summary
Constants included from JSONModel
JSONModel::REFERENCE_KEY_REGEX
Instance Method Summary collapse
Methods included from Publishable
Methods included from ASModel
all_models, included, update_publish_flag, update_suppressed_flag
Methods included from JSONModel
JSONModel, #JSONModel, add_error_handler, all, allow_unmapped_enum_value, backend_url, check_valid_refs, client_mode?, custom_validations, destroy_model, enum_default_value, enum_values, handle_error, init, load_schema, #models, models, parse_jsonmodel_ref, parse_reference, repository, repository_for, schema_src, set_publish_flags!, set_repository, strict_mode, strict_mode?, validate_schema, with_repository
Instance Method Details
#add_persistent_ids(persistent_ids, parent_id, parent_type) ⇒ Object
13 14 15 16 17 18 19 |
# File 'backend/app/model/note.rb', line 13 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 |