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.



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

def backoff
  @data['backoff']
end

#changesObject

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



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

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