lib/todoist/misc/backups.rb in todoist-ruby-0.1.3 vs lib/todoist/misc/backups.rb in todoist-ruby-0.2.1

- old
+ new

@@ -1,12 +1,12 @@ module Todoist module Misc - class Backups + class Backups < Todoist::Service include Todoist::Util # Returns the backups for a user. def get() - result = NetworkHelper.getResponse(Config::TODOIST_BACKUPS_GET_COMMAND, {}) + result = @client.api_helper.get_response(Config::TODOIST_BACKUPS_GET_COMMAND, {}) ParseHelper.make_objects_as_hash(result) end end end end