Class: DropboxApi::Results::ListRevisionsResult

Inherits:
Base
  • Object
show all
Defined in:
lib/dropbox_api/results/list_revisions_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

#entriesObject

A collection of files and directories.


4
5
6
7
8
# File 'lib/dropbox_api/results/list_revisions_result.rb', line 4

def entries
  @entries ||= @data["entries"].map do |entry|
    DropboxApi::Metadata::File.new entry
  end
end

#is_deleted?Boolean

Returns:

  • (Boolean)

10
11
12
# File 'lib/dropbox_api/results/list_revisions_result.rb', line 10

def is_deleted?
  @data["is_deleted"] == true
end