used for PUT object with body_stream for http data see OpenStack::Connection::put_object
# File lib/openstack/swift/connection.rb, line 166 def initialize(data, chunk_size) @size = chunk_size @file = data end
# File lib/openstack/swift/connection.rb, line 175 def eof! @file.eof! end
# File lib/openstack/swift/connection.rb, line 178 def eof? @file.eof? end
# File lib/openstack/swift/connection.rb, line 171 def read(foo) @file.read(@size) end