class Aws::S3::FilePart
def initialize(options = {})
(**options)
-
:size
(required, Integer
) -- The maximum number of bytes to -
:offset
(required, Integer
) -- The file part will read -
:source
(required, String, Pathname, File, Tempfile
) --
def initialize(options = {}) @source = options[:source] @first_byte = options[:offset] @last_byte = @first_byte + options[:size] @size = options[:size] @file = nil end