Class: DropboxApi::Results::ListSharedLinksResult
- Defined in:
- lib/dropbox_api/results/list_shared_links_result.rb
Instance Method Summary collapse
-
#cursor ⇒ Object
Pass the cursor into
list_folder_continue
to see what's changed in the folder since your previous query. -
#has_more? ⇒ Boolean
If true, then there are more entries available.
-
#links ⇒ Object
Shared links applicable to the path argument.
Methods inherited from Base
Constructor Details
This class inherits a constructor from DropboxApi::Results::Base
Instance Method Details
#cursor ⇒ Object
Pass the cursor into list_folder_continue
to see what's changed in the
folder since your previous query.
13 14 15 |
# File 'lib/dropbox_api/results/list_shared_links_result.rb', line 13 def cursor @data['cursor'] end |
#has_more? ⇒ Boolean
If true, then there are more entries available. Pass the cursor to
list_folder_continue
to retrieve the rest.
19 20 21 |
# File 'lib/dropbox_api/results/list_shared_links_result.rb', line 19 def has_more? @data['has_more'].to_s == 'true' end |
#links ⇒ Object
Shared links applicable to the path argument.
5 6 7 8 9 |
# File 'lib/dropbox_api/results/list_shared_links_result.rb', line 5 def links @entries ||= @data['links'].map do |entry| DropboxApi::Metadata::SharedLinkMetadata.new entry end end |