Class: Lita::Handlers::OnewheelNasaApod

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

Instance Method Summary collapse

Instance Method Details

#handle_cosmos(response) ⇒ Object



12
13
14
# File 'lib/lita/handlers/onewheel_nasa_apod.rb', line 12

def handle_cosmos(response)
  response.reply RestClient::get('https://kpp0tmzh76.execute-api.us-west-2.amazonaws.com/prod/nasaapod')
end