module Ddr::Auth::User

Public Instance Methods

ability() click to toggle source
# File lib/ddr/auth/user.rb, line 47
def ability
  @ability ||= AbilityFactory.call(self)
end
agent() click to toggle source
# File lib/ddr/auth/user.rb, line 43
def agent
  user_key
end
to_s() click to toggle source
# File lib/ddr/auth/user.rb, line 39
def to_s
  user_key
end
user_key() click to toggle source

Copied from Hydra::User

# File lib/ddr/auth/user.rb, line 35
def user_key
  send(user_key_attribute)
end