Class: Ruboty::Todo::Actions::State
- Defined in:
- lib/ruboty/todo/actions/state.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Instance Method Details
#call ⇒ Object
5 6 7 8 9 10 11 |
# File 'lib/ruboty/todo/actions/state.rb', line 5 def call super require 'pp' pp .reply(change_item_state([:id].to_i, [:state].to_sym)) end |