Sha256: c1b059f5b56688969a756f5f6561dd74718080b1805dbbdc652d593ce4c044bc
Contents?: true
Size: 389 Bytes
Versions: 41
Compression:
Stored size: 389 Bytes
Contents
module RockRMS class Client module BinaryFile def upload_binary_file( file:, mime_type:, binary_file_type_id: ) query_string = "BinaryFileTypeId=#{binary_file_type_id}" converted_file = Faraday::UploadIO.new(file, mime_type) post("BinaryFiles/Upload?#{query_string}", { file: converted_file }) end end end end
Version data entries
41 entries across 41 versions & 1 rubygems