Module: Curate::UserBehavior::Base
- Extended by:
- ActiveSupport::Concern
- Defined in:
- app/models/curate/user_behavior/base.rb
Instance Method Summary collapse
Instance Method Details
#agree_to_terms_of_service! ⇒ Object
8 9 10 |
# File 'app/models/curate/user_behavior/base.rb', line 8 def agree_to_terms_of_service! update_column(:agreed_to_terms_of_service, true) end |
#collections ⇒ Object
12 13 14 |
# File 'app/models/curate/user_behavior/base.rb', line 12 def collections Collection.where(Hydra.config[:permissions][:edit][:individual] => user_key) end |
#get_value_from_ldap(attribute) ⇒ Object
16 17 18 |
# File 'app/models/curate/user_behavior/base.rb', line 16 def get_value_from_ldap(attribute) # override end |