Module: Ddr::HasAttachments
- Extended by:
- ActiveSupport::Concern
- Included in:
- Collection
- Defined in:
- app/models/concerns/ddr/has_attachments.rb
Instance Method Summary collapse
Instance Method Details
#attachments ⇒ Object
5 6 7 |
# File 'app/models/concerns/ddr/has_attachments.rb', line 5 def Ddr.query_service.find_inverse_references_by(resource: self, property: 'attached_to_id') end |