Class: Todoist::Misc::Backups

Inherits:
Service
  • Object
show all
Includes:
Util
Defined in:
lib/todoist/misc/backups.rb

Instance Method Summary collapse

Methods inherited from Service

#initialize

Constructor Details

This class inherits a constructor from Todoist::Service

Instance Method Details

#getObject

Returns the backups for a user.



7
8
9
10
# File 'lib/todoist/misc/backups.rb', line 7

def get()
  result = @client.api_helper.get_response(Config::TODOIST_BACKUPS_GET_COMMAND, {})
  ParseHelper.make_objects_as_hash(result)
end