jakesorce / clubhouse_ruby

A lightweight Ruby wrapper for the Clubhouse REST API.
MIT License
18 stars 11 forks source link

Create file #8

Open pkwen opened 3 years ago

pkwen commented 3 years ago

Does this gem support creation of files? I'm having issues uploading files using clubhouse.files.create(file: File.new(...))

{:code=>"400", :status=>"Bad Request", :content=> {"message"=>"The request included invalid or missing parameters.", "errors"=>{"file"=>["not", ["map?", "a-java.lang.String"]]}}}

jakesorce commented 3 years ago

@subclinical - I'll look into this.