Method: Cnvrg::Files#upload_url
- Defined in:
- lib/cnvrg/files.rb
#upload_url(file_path) ⇒ Object
352 353 354 355 356 357 358 359 360 |
# File 'lib/cnvrg/files.rb', line 352 def upload_url(file_path) response = Cnvrg::API.request(@base_resource + "upload_url", 'POST', {file_s3_path: file_path}) if Cnvrg::CLI.is_response_success(response, false) return response else return nil end end |