Sha256: 8ead8bb9b266863fe756cb7def9086563e69f451ec934dbabb9d54dbff930666

Contents?: true

Size: 502 Bytes

Versions: 6

Compression:

Stored size: 502 Bytes

Contents

module Fog
  module AzureRM
    class Storage
      # This class provides the actual implemention for service calls.
      class Real
        def get_object(...)
          blob, body = get_blob(...)

          blob[:body] = body
          blob
        end
      end

      # This class provides the mock implementation for unit tests.
      class Mock
        def get_object(...)
          blob, body = get_blob(...)

          blob[:body] = body
          blob
        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/get_object.rb
gitlab-fog-azure-rm-2.1.0 lib/fog/azurerm/requests/storage/get_object.rb
gitlab-fog-azure-rm-2.0.1 lib/fog/azurerm/requests/storage/get_object.rb
gitlab-fog-azure-rm-2.0.0 lib/fog/azurerm/requests/storage/get_object.rb
gitlab-fog-azure-rm-1.9.1 lib/fog/azurerm/requests/storage/get_object.rb
gitlab-fog-azure-rm-1.9.0 lib/fog/azurerm/requests/storage/get_object.rb