Module: S3io

Defined in:
lib/s3io.rb,
lib/s3io/version.rb,
lib/s3io/wrapper.rb

Overview

A top-level module that provides an S3 wrapper class.

Defined Under Namespace

Classes: Wrapper

Constant Summary collapse

VERSION =
"0.0.2"

Class Method Summary collapse

Class Method Details

.new(s3object, options = {}) ⇒ S3io::Wrapper

A shortcut for wrapping an S3 object

Parameters:

  • s3object (AWS::S3::S3Object)

    an object to wrap

  • options (Hash) (defaults to: {})

    options hash

Options Hash (options):

  • :line_buffer_size (Integer)

    size of the buffer that is used for reading contents of S3 object when iterating over its lines

Returns:



14
15
16
# File 'lib/s3io.rb', line 14

def self.new(s3object, options = {})
  Wrapper.new(s3object, options)
end