Sha256: 3c71779210a3baf5821285753db4372889ecce5b231b9880030362d32f031f23
Contents?: true
Size: 1.36 KB
Versions: 1
Compression:
Stored size: 1.36 KB
Contents
o:$YARD::CodeObjects::MethodObject:@parameters[[" file0:@current_file_has_commentsT: @linei=:@signature"def upload_file(file) file = File.new(file) if file.is_a?(String) body_options = {:file => file} opts = build_multipart_bodies(body_options).merge({:basic_auth => @auth}) ChunkyBaconfile::FileInfo.new(self.class.post("/#{@username}.json", opts)) end:@files[["#lib/chunky_baconfile/client.rbi=:@explicitT:@scope: instance: @name:upload_file:@source"def upload_file(file) file = File.new(file) if file.is_a?(String) body_options = {:file => file} opts = build_multipart_bodies(body_options).merge({:basic_auth => @auth}) ChunkyBaconfile::FileInfo.new(self.class.post("/#{@username}.json", opts)) end:@visibility:public:@docstringIC:YARD::Docstring"Upload a new file :@line_rangeo: Range: begini9: exclF:endi<: @all[ "Upload a new file"