Method: OpenapiClient::DownloadsApi#download_file

Defined in:
lib/openapi_client/api/downloads_api.rb

#download_file(subdir, filename, dir, opts = {}) ⇒ File

Download File Get File

Parameters:

  • subdir (String)
  • filename (String)
  • dir (String)
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :download (String)

Returns:

  • (File)


30
31
32
33
# File 'lib/openapi_client/api/downloads_api.rb', line 30

def download_file(subdir, filename, dir, opts = {})
  data, _status_code, _headers = download_file_with_http_info(subdir, filename, dir, opts)
  data
end