Sha256: 0808567055007a6cfac0ad63c814569bd9d98868637afe2ccc1b2785ce45670d

Contents?: true

Size: 502 Bytes

Versions: 2

Compression:

Stored size: 502 Bytes

Contents

module Fog
  module Storage
    class AzureRM
      # 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

2 entries across 2 versions & 1 rubygems

Version Path
gitlab-fog-azure-rm-1.8.0 lib/fog/azurerm/requests/storage/get_object.rb
gitlab-fog-azure-rm-1.7.0 lib/fog/azurerm/requests/storage/get_object.rb