class DropboxApi::Results::GetCopyReferenceResult
Public Instance Methods
copy_reference()
click to toggle source
A copy reference to the file or folder.
# File lib/dropbox_api/results/get_copy_reference_result.rb, line 10 def copy_reference @copy_reference ||= @data['copy_reference'] end
expires()
click to toggle source
The expiration date of the copy reference. This value is currently set to be far enough in the future so that expiration is effectively not an issue.
# File lib/dropbox_api/results/get_copy_reference_result.rb, line 17 def expires @expires ||= Time.parse(@data['expires']) end
resource()
click to toggle source
Metadata
of the file or folder.
# File lib/dropbox_api/results/get_copy_reference_result.rb, line 5 def resource @resource ||= DropboxApi::Metadata::Resource.new @data['metadata'] end