Skip to content
marcinbunsch edited this page Sep 14, 2010 · 1 revision

Lists are accessed via the Things::List class.

Lists differ from the other objects in Things as they cannot be created, edited or deleted. You can however access them by calling their names as method names on the Things::List class.

Things::List.inbox # => returns an instance of Things::List pointing to the inbox

To fetch a collection of todos in a list, simply call #todos on the Things::List instance

Things::List.inbox.todos # => returns [Things::Todo, Things::Todo, ...]

Available lists

  • inbox
  • today
  • next
  • scheduled
  • someday
  • projects
  • logbook
  • trash

Clone this wiki locally