lib/todoist/sync/reminders.rb in todoist-ruby-0.1.2 vs lib/todoist/sync/reminders.rb in todoist-ruby-0.1.3

- old
+ new

@@ -13,12 +13,12 @@ # documentation. This method can be tricky to all. def add(args) return ApiHelper.add(args, "reminder_add") end - # Update a reminder given a reminder - def update(reminder) - return ApiHelper.command(reminder.to_h, "reminder_update") + # Update a reminder given a hash of attributes + def update(args) + return ApiHelper.command(args, "reminder_update") end # Delete reminder given an array of reminders def delete(reminder) args = {id: reminder.id}