Sha256: 4b227ce2478164db1d32721b18660c7a1642301a854faa76e1c431f2143c65b5

Contents?: true

Size: 256 Bytes

Versions: 2

Compression:

Stored size: 256 Bytes

Contents

# frozen_string_literal: true

module Deadpull
  module Values
    class S3Client < Base
      extend Dry::Initializer

      param :config

      def concretize
        aws = config[:aws] || {}
        Aws::S3::Client.new(aws)
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
deadpull-0.1.1 lib/deadpull/values/s3_client.rb
deadpull-0.1.0 lib/deadpull/values/s3_client.rb