Class: DropboxApi::Results::ListFolderLongpollResult

Inherits:
Base
  • Object
show all
Defined in:
lib/dropbox_api/results/list_folder_longpoll_result.rb

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from DropboxApi::Results::Base

Instance Method Details

#backoffObject

If present, backoff for at least this many seconds before calling list_folder_longpoll again. This field is optional.



11
12
13
# File 'lib/dropbox_api/results/list_folder_longpoll_result.rb', line 11

def backoff
  @data["backoff"]
end

#changesObject

Indicates whether new changes are available. If true, call list_folder_continue to retrieve the changes.



5
6
7
# File 'lib/dropbox_api/results/list_folder_longpoll_result.rb', line 5

def changes
  @data["changes"].to_s == "true"
end