Module: Ddr::Auth::User
- Extended by:
- ActiveSupport::Concern
- Defined in:
- lib/ddr/auth/user.rb
Defined Under Namespace
Modules: ClassMethods
Instance Method Summary collapse
- #ability ⇒ Object
- #agent ⇒ Object
- #to_s ⇒ Object
-
#user_key ⇒ Object
Copied from Hydra::User.
Instance Method Details
#ability ⇒ Object
49 50 51 |
# File 'lib/ddr/auth/user.rb', line 49 def ability @ability ||= AbilityFactory.call(self) end |
#agent ⇒ Object
45 46 47 |
# File 'lib/ddr/auth/user.rb', line 45 def agent user_key end |
#to_s ⇒ Object
41 42 43 |
# File 'lib/ddr/auth/user.rb', line 41 def to_s user_key end |
#user_key ⇒ Object
Copied from Hydra::User
37 38 39 |
# File 'lib/ddr/auth/user.rb', line 37 def user_key send(user_key_attribute) end |