class Ruboty::Handlers::Weather
Public Instance Methods
weather(message)
click to toggle source
# File lib/ruboty/handlers/weather.rb, line 6 def weather(message) message.reply(fetch) end
Private Instance Methods
fetch()
click to toggle source
# File lib/ruboty/handlers/weather.rb, line 12 def fetch Ruboty::Weather::Client.new.get end