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
47 48 49 |
# File 'lib/ddr/auth/user.rb', line 47 def ability @ability ||= AbilityFactory.call(self) end |
#agent ⇒ Object
43 44 45 |
# File 'lib/ddr/auth/user.rb', line 43 def agent user_key end |
#to_s ⇒ Object
39 40 41 |
# File 'lib/ddr/auth/user.rb', line 39 def to_s user_key end |
#user_key ⇒ Object
Copied from Hydra::User
35 36 37 |
# File 'lib/ddr/auth/user.rb', line 35 def user_key send(user_key_attribute) end |