Class: Lita::Handlers::Password
- Inherits:
-
Handler
- Object
- Handler
- Lita::Handlers::Password
- Defined in:
- lib/lita/handlers/password.rb
Instance Method Summary collapse
Instance Method Details
#password(response) ⇒ Object
12 13 14 |
# File 'lib/lita/handlers/password.rb', line 12 def password(response) response.reply(KeePass::Password.generate(Lita.config.handlers.password.pattern, :remove_lookalikes => true)) end |