Sha256: 8ac7f8b8308fd678082996487a631523ae9aaf5623fe9093415388e3653a5dd0
Contents?: true
Size: 426 Bytes
Versions: 14
Compression:
Stored size: 426 Bytes
Contents
module Bearcat class Client < Footrest::Client module ContentMigrations def upload_content_package(api_path, file_path, params = {}) response = post(api_path, params) pre_attachment = response['pre_attachment'] confirmation_url = post_file(pre_attachment['upload_url'], pre_attachment['upload_params'], file_path) confirm_file_upload(confirmation_url) end end end end
Version data entries
14 entries across 14 versions & 1 rubygems