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.
11 12 13 |
# File 'lib/dropbox_api/results/list_folder_longpoll_result.rb', line 11 def backoff @data["backoff"] end |
#changes ⇒ Object
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 |