Class: Zilch::Authorisation::UsersManager

Inherits:
Object
  • Object
show all
Extended by:
Forwardable
Defined in:
lib/zilch/authorisation/users_manager.rb

Overview

Interface for interacting with users.

Since:

  • x.x.x

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#adapterObject

Reader for the adapter which implements this interface.

Since:

  • x.x.x



18
19
20
# File 'lib/zilch/authorisation/users_manager.rb', line 18

def adapter
  @adapter ||= default_adapter
end

Instance Method Details

#default_adapterObject

Specifies the default adapter to use.

Since:

  • x.x.x



32
33
34
# File 'lib/zilch/authorisation/users_manager.rb', line 32

def default_adapter
  Zilch::Authorisation::Adapters::Default.new
end