Class: Organization
- Inherits:
-
ActiveFedora::Base
- Object
- ActiveFedora::Base
- Organization
- Includes:
- CurationConcern::CollectionModel, Hydra::AccessControls::Permissions, Hydra::AccessControls::WithAccessRight, Hydra::Collection, Sufia::Noid
- Defined in:
- app/repository_models/organization.rb
Instance Method Summary collapse
-
#can_be_member_of_collection?(collection) ⇒ Boolean
An organization cannot be a member of any other type of collection.
- #to_s ⇒ Object
Methods included from CurationConcern::CollectionModel
#add_member, #add_relationship, #remove_member, #to_solr
Methods included from CurationConcern::HumanReadableType
#human_readable_type, #to_solr
Methods included from ActiveFedora::Base::SoftDeleteBehavior
Instance Method Details
#can_be_member_of_collection?(collection) ⇒ Boolean
An organization cannot be a member of any other type of collection.
9 10 11 |
# File 'app/repository_models/organization.rb', line 9 def can_be_member_of_collection?(collection) false end |
#to_s ⇒ Object
13 14 15 |
# File 'app/repository_models/organization.rb', line 13 def to_s title end |