Sha256: b9f05bca5056150843641600a5c91fecae32a52c99a596d39f46177cfe03f758

Contents?: true

Size: 610 Bytes

Versions: 3

Compression:

Stored size: 610 Bytes

Contents

module ApiStub
  module Requests
    module Storage
      # Mock class for Deployment Requests
      class Blob
        def self.test_get_blob_metadata
          container = Azure::Storage::Blob::Blob.new
          container.name = 'Test-blob'
          container.metadata = metadata_response
          container
        end

        def self.metadata_response
          {
            'container-name' => 'Test-container',
            'blob-name' => 'Test-blob',
            'category' => 'Images',
            'resolution' => 'High'
          }
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
fog-azure-rm-0.0.6 test/api_stub/requests/storage/blob.rb
fog-azure-rm-0.0.5 test/api_stub/requests/storage/blob.rb
fog-azure-rm-0.0.4 test/api_stub/requests/storage/blob.rb