Class: Ruboty::Todo::Actions::State

Inherits:
Base
  • Object
show all
Defined in:
lib/ruboty/todo/actions/state.rb

Instance Attribute Summary

Attributes inherited from Base

#todo_list

Instance Method Summary collapse

Instance Method Details

#callObject



5
6
7
8
9
10
11
# File 'lib/ruboty/todo/actions/state.rb', line 5

def call
  super
  require 'pp'
  pp message

  message.reply(change_item_state(message[:id].to_i, message[:state].to_sym))
end