Class: Lita::Handlers::OnewheelCve
- Inherits:
-
Handler
- Object
- Handler
- Lita::Handlers::OnewheelCve
- Defined in:
- lib/lita/handlers/onewheel_cve.rb
Instance Method Summary collapse
Instance Method Details
#handle_cve(response) ⇒ Object
6 7 8 |
# File 'lib/lita/handlers/onewheel_cve.rb', line 6 def handle_cve(response) response.reply 'http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=' + response.matches[0][0] end |