Class: DropboxApi::Results::ListFolderLongpollResult
- Defined in:
- lib/dropbox_api/results/list_folder_longpoll_result.rb
Instance Method Summary collapse
-
#backoff ⇒ Object
If present, backoff for at least this many seconds before calling
list_folder_longpoll
again. -
#changes ⇒ Object
Indicates whether new changes are available.
Methods inherited from Base
Constructor Details
This class inherits a constructor from DropboxApi::Results::Base
Instance Method Details
#backoff ⇒ Object
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 |
#changes ⇒ Object
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 |