Class: Ruboty::Todo::Actions::Add
- Defined in:
- lib/ruboty/todo/actions/add.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Instance Method Details
#call ⇒ Object
5 6 7 8 |
# File 'lib/ruboty/todo/actions/add.rb', line 5 def call super .reply(todo_list.add(title: [:title]).format(new_item: true)) end |