Class: Lita::Handlers::OnewheelCve

Inherits:
Handler
  • Object
show all
Defined in:
lib/lita/handlers/onewheel_cve.rb

Instance Method Summary collapse

Instance Method Details

#handle_cve(response) ⇒ Object



14
15
16
17
18
# File 'lib/lita/handlers/onewheel_cve.rb', line 14

def handle_cve(response)
  id = response.match_data['id']
  url = config.search_url + id
  response.reply url
end