Module: Classifications
- Included in:
- Accession, DigitalObject, Resource
- Defined in:
- backend/app/model/mixins/classifications.rb
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
4 5 6 7 8 9 10 |
# File 'backend/app/model/mixins/classifications.rb', line 4 def self.included(base) base.include(Relationships) base.define_relationship(:name => :classification, :json_property => 'classifications', :contains_references_to_types => proc {[Classification, ClassificationTerm]}) end |