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""8@param [String, File] path or file object to upload"1@return [FileInfo] info about the new folder:@ref_tags[:
@tags[o:YARD::Tags::Tag
:@types["String"	File;"	path:@tag_name"
param:
@text"or file object to upload:@objectu:YARD::StubProxy(ChunkyBaconfile::Client#upload_fileo;
;["
FileInfo;0;"return; "info about the new folder;!u;"(ChunkyBaconfile::Client#upload_file;!u;"(ChunkyBaconfile::Client#upload_file:@namespaceu;"ChunkyBaconfile::Client:@source_type:	ruby;[

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
chunky_baconfile-0.1.0 .yardoc/objects/ChunkyBaconfile/Client/upload_file_i.dat