# File lib/fog/hp/models/storage/file.rb, line 68 def save(options = {}) requires :body, :directory, :key options['Content-Type'] = content_type if content_type data = service.put_object(directory.key, key, body, options) merge_attributes(data.headers) self.content_length = Fog::Storage.get_body_size(body) true end