module Shrine::Storage::S3::ClientSideEncryption
Adds support for Aws::S3::Encryption::Client.
Attributes
Public Class Methods
Source
# File lib/shrine/storage/s3.rb 365 def initialize(client: nil, **) 366 return super unless client.class.name.start_with?("Aws::S3::Encryption") 367 368 super(client: client.client, **) 369 @encryption_client = client 370 end
Save the encryption client and continue initialization with normal client.
Calls superclass method