class ActiveStorage::Service::AzureStorageService

def initialize(storage_account_name:, storage_access_key:, container:, public: false, **options)

def initialize(storage_account_name:, storage_access_key:, container:, public: false, **options)
  ActiveStorage.deprecator.warn <<~MSG.squish
    `ActiveStorage::Service::AzureStorageService` is deprecated and will be
    removed in Rails 8.1.
    Please try the `azure-blob` gem instead.
    This gem is not maintained by the Rails team, so please test your applications before deploying to production.
  MSG
  @client = Azure::Storage::Blob::BlobService.create(storage_account_name: storage_account_name, storage_access_key: storage_access_key, **options)
  @signer = Azure::Storage::Common::Core::Auth::SharedAccessSignature.new(storage_account_name, storage_access_key)
  @container = container
  @public = public
end