class ChefAPI::Multipart::EndingPart
The end of the entire request
Public Class Methods
new()
click to toggle source
# File lib/chef-api/multipart.rb, line 151 def initialize @part = "--#{BOUNDARY}--\r\n\r\n" end
Public Instance Methods
io()
click to toggle source
# File lib/chef-api/multipart.rb, line 155 def io @io ||= StringIO.new(@part) end
size()
click to toggle source
# File lib/chef-api/multipart.rb, line 159 def size @part.bytesize end