Class: ROM::Auth::Plugins::Plugin
- Inherits:
-
Object
- Object
- ROM::Auth::Plugins::Plugin
- Defined in:
- lib/rom/auth/plugins/plugin.rb
Direct Known Subclasses
AuthenticationCredentialsPlugin, AuthenticationEventsPlugin, LockdownPlugin
Instance Attribute Summary collapse
-
#configuration ⇒ Object
readonly
Returns the value of attribute configuration.
-
#system ⇒ Object
readonly
Returns the value of attribute system.
Instance Method Summary collapse
-
#initialize(system, config) ⇒ Plugin
constructor
A new instance of Plugin.
- #install(*args) ⇒ Object
- #migrate(*args) ⇒ Object
Constructor Details
Instance Attribute Details
#configuration ⇒ Object (readonly)
Returns the value of attribute configuration.
5 6 7 |
# File 'lib/rom/auth/plugins/plugin.rb', line 5 def configuration @configuration end |
#system ⇒ Object (readonly)
Returns the value of attribute system.
5 6 7 |
# File 'lib/rom/auth/plugins/plugin.rb', line 5 def system @system end |
Instance Method Details
#install(*args) ⇒ Object
16 17 18 |
# File 'lib/rom/auth/plugins/plugin.rb', line 16 def install(*args) raise NotImplementedError end |
#migrate(*args) ⇒ Object
13 14 |
# File 'lib/rom/auth/plugins/plugin.rb', line 13 def migrate(*args) end |