Module: Hydra::GenericUserAttributes
- Defined in:
- vendor/plugins/hydra_repository/lib/hydra/generic_user_attributes.rb
Constant Summary
- USER_ATTRIBUTES =
['first_name','last_name','full_name','affiliation','photo']
Instance Attribute Summary (collapse)
-
- (Object) user_attributes
Retrieves the UserAttribute object for the user.
Instance Attribute Details
- (Object) user_attributes
Retrieves the UserAttribute object for the user. This defaults to the packaged ActiveRecord object, but can be overwritten with #user_attributes=
19 20 21 |
# File 'vendor/plugins/hydra_repository/lib/hydra/generic_user_attributes.rb', line 19 def user_attributes @user_attributes ||= user_attribute end |