Class: DropboxApi::Results::GetTemporaryLinkResult

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

#fileObject


3
4
5
# File 'lib/dropbox_api/results/get_temporary_link_result.rb', line 3

def file
  @file ||= DropboxApi::Metadata::File.new(@data["metadata"])
end

7
8
9
# File 'lib/dropbox_api/results/get_temporary_link_result.rb', line 7

def link
  @data["link"]
end