I'm writing a Ruby library for RTM (rtmilk.rb), and facing a problem.
In order to test rtm.lists API, I often call "rtm.lists.add", but
there is no way to delete created list from API.
It requires me to delete the lists manually from RTM site...
rtm.lists has every sort of methods but delete a list.
It seems unnatural all other API categories (contacts, groups, tasks,
notes) have some delete ways but lists does not.
I hope that rtm.lists have some delete method.
thanks.
> I'm writing a Ruby library for RTM (rtmilk.rb), and facing a problem.
> In order to test rtm.lists API, I often call "rtm.lists.add", but
> there is no way to delete created list from API.
> It requires me to delete the lists manually from RTM site...
Sorry about that... :)
> rtm.lists has every sort of methods but delete a list.
> It seems unnatural all other API categories (contacts, groups, tasks,
> notes) have some delete ways but lists does not.
> I hope that rtm.lists have some delete method.
rtm.lists.delete is now available.
The reason we've hesitated to provide this function is that deleting
lists only deletes the list, and not the tasks within it -- those tasks
are moved to the Inbox.
So as long as API users are aware of this, all is well in the world. ;)
(If you want to delete both the list and the tasks within it, you should
delete the tasks first, then remove the list.)
> thanks.
Regards,
Omar