Module: Cinch::Extensions::Authentication::ClassMethods
- Defined in:
- lib/cinch/extensions/authentication.rb
Instance Method Summary collapse
-
#enable_authentication ⇒ Object
Public: Enables authentication for the full plugin.
Instance Method Details
#enable_authentication ⇒ Object
Public: Enables authentication for the full plugin.
8 9 10 |
# File 'lib/cinch/extensions/authentication.rb', line 8 def enable_authentication hook :pre, :for => [:match], :method => :authenticated? end |