Adds support for Aws::S3::Encryption::Client.
Attributes
Public Class methods
new(client: nil, **)
Save the encryption client and continue initialization with normal client.
[show source]
# File lib/shrine/storage/s3.rb 370 def initialize(client: nil, **) 371 return super unless client.class.name.start_with?("Aws::S3::Encryption") 372 373 super(client: client.client, **) 374 @encryption_client = client 375 end