Sha256: 130800b7424351aef22265274c1d58d794e7d452005071886d276a61324bdd82

Contents?: true

Size: 599 Bytes

Versions: 6

Compression:

Stored size: 599 Bytes

Contents

module Fog
  module AzureRM
    class Storage
      # This class provides the actual implementation for service calls.
      # This is to make this library compatible with CarrierWave.
      class Real
        def copy_object(source_container, source_blob, target_container, target_blob, options = {})
          copy_blob(target_container, target_blob, source_container, source_blob, options)
        end
      end

      # This class provides the mock implementation for unit tests.
      class Mock
        def copy_object(*args)
          copy_blob(*args)
        end
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
gitlab-fog-azure-rm-2.2.0 lib/fog/azurerm/requests/storage/copy_object.rb
gitlab-fog-azure-rm-2.1.0 lib/fog/azurerm/requests/storage/copy_object.rb
gitlab-fog-azure-rm-2.0.1 lib/fog/azurerm/requests/storage/copy_object.rb
gitlab-fog-azure-rm-2.0.0 lib/fog/azurerm/requests/storage/copy_object.rb
gitlab-fog-azure-rm-1.9.1 lib/fog/azurerm/requests/storage/copy_object.rb
gitlab-fog-azure-rm-1.9.0 lib/fog/azurerm/requests/storage/copy_object.rb