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 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