Class: Ruboty::Handlers::LivedoorWeather

Inherits:
Base
  • Object
show all
Defined in:
lib/ruboty/livedoor_weather/handlers/livedoor_weather.rb

Instance Method Summary collapse

Instance Method Details

#livedoor_weather(message) ⇒ Object



5
6
7
8
# File 'lib/ruboty/livedoor_weather/handlers/livedoor_weather.rb', line 5

def livedoor_weather(message)
  client = Ruboty::LivedoorWeather::Client.new(message)
  message.reply(client.report)
end