class DropboxApi::Results::ListFolderResult
Public Instance Methods
cursor()
click to toggle source
Pass the cursor into `list_folder_continue` to see what's changed in the folder since your previous query.
# File lib/dropbox_api/results/list_folder_result.rb, line 13 def cursor @data['cursor'] end
entries()
click to toggle source
A collection of files and directories.
# File lib/dropbox_api/results/list_folder_result.rb, line 5 def entries @entries ||= @data['entries'].map do |entry| DropboxApi::Metadata::Resource.new entry end end
has_more?()
click to toggle source
If true, then there are more entries available. Pass the cursor to `list_folder_continue` to retrieve the rest.
# File lib/dropbox_api/results/list_folder_result.rb, line 19 def has_more? @data['has_more'].to_s == 'true' end