Class: Ruboty::Handlers::Haiku

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

Instance Method Summary collapse

Instance Method Details

#haiku_wo_yome(message) ⇒ Object



13
14
15
# File 'lib/ruboty/handlers/haiku.rb', line 13

def haiku_wo_yome(message)
  Ruboty::HaikuWoYome::Actions::Haiku.new(message).call
end

#tanka_wo_yome(message) ⇒ Object



17
18
19
# File 'lib/ruboty/handlers/haiku.rb', line 17

def tanka_wo_yome(message)
  Ruboty::HaikuWoYome::Actions::Haiku.new(message).call(type: :tanka)
end