lib/tredo.rb in tredo-0.1.1 vs lib/tredo.rb in tredo-0.1.2
- old
+ new
@@ -13,8 +13,14 @@
def self.todo_lists
restclient = RestProvider.new
todo = Todo.new(restclient)
todo.lists
end
+
+ def self.todos_for_list(list_id)
+ restclient = RestProvider.new
+ todo = Todo.new(restclient)
+ todo.actions(list_id)
+ end
end
require "tredo/todo"