Class: Zilch::Authorisation::UsersManager
- Inherits:
-
Object
- Object
- Zilch::Authorisation::UsersManager
- Extended by:
- Forwardable
- Defined in:
- lib/zilch/authorisation/users_manager.rb
Overview
Interface for interacting with users.
Instance Attribute Summary collapse
-
#adapter ⇒ Object
Reader for the adapter which implements this interface.
Instance Method Summary collapse
-
#default_adapter ⇒ Object
Specifies the default adapter to use.
Instance Attribute Details
#adapter ⇒ Object
Reader for the adapter which implements this interface.
18 19 20 |
# File 'lib/zilch/authorisation/users_manager.rb', line 18 def adapter @adapter ||= default_adapter end |
Instance Method Details
#default_adapter ⇒ Object
Specifies the default adapter to use.
32 33 34 |
# File 'lib/zilch/authorisation/users_manager.rb', line 32 def default_adapter Zilch::Authorisation::Adapters::Default.new end |