class Vidispine::API::Client::Requests::StorageFileGet

Exposes two functions

1. Get status of file in storage
  @see http://apidoc.vidispine.com/4.2.3/ref/storage/file.html#get-status-of-file-in-storage

2. Get direct download access to file in storage
  @see http://apidoc.vidispine.com/4.2.3/ref/storage/file.html#get-direct-download-access-to-file-in-storage

Constants

HTTP_PATH
PARAMETERS

Public Instance Methods

after_process_parameters() click to toggle source
# File lib/vidispine/api/client/requests/storage_file_get.rb, line 28
def after_process_parameters
  # URI Needs to be escaped twice, so we do it once here and then again when the query is built
  # @see http://apidoc.vidispine.com/4.2.6/storage/uri.html#api-calls
  _uri = arguments[:uri]
  arguments[:uri] = CGI.escape(_uri).gsub('+', '%20') if _uri

  _path  =arguments[:path]
  arguments[:path] = CGI.escape(_path).gsub('+', '%20') if _path
end