class Ruboty::Handlers::Gominohi

Public Instance Methods

gominohi(message) click to toggle source
# File lib/ruboty/handlers/gominohi.rb, line 6
def gominohi(message)
  date = Date.easy_parse(message[:date].strip)
  notification = ::Ruboty::Gominohi::Notification.new(date)
  str = notification.message

  message.reply(str) unless str.nil?
end