method

new

Importance_0
v5.2.3 - Show latest stable - 0 notes - Class: AzureStorageService
new(storage_account_name:, storage_access_key:, container:) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activestorage/lib/active_storage/service/azure_storage_service.rb, line 13
    def initialize(storage_account_name,, storage_access_key,, container))
      @client = Azure::Storage::Client.create(storage_account_name: storage_account_name, storage_access_key: storage_access_key)
      @signer = Azure::Storage::Core::Auth::SharedAccessSignature.new(storage_account_name, storage_access_key)
      @blobs = client.blob_client
      @container = container
    end
Register or log in to add new notes.