Method: Cnvrg::Files#upload_url
- Defined in:
- lib/cnvrg/files.rb
#upload_url(file_path) ⇒ Object
533 534 535 536 537 538 539 540 541 |
# File 'lib/cnvrg/files.rb', line 533 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 |