method

new

Importance_0
v6.0.0 - Show latest stable - 0 notes - Class: AzureStorageService
new(storage_account_name:, storage_access_key:, container:, **options) 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,, **options)
      @client = Azure::Storage::Client.create(storage_account_name: storage_account_name, storage_access_key: storage_access_key, **options)
      @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.