Sha256: 613ac292a56f11e44aa41a8e4c57018fd533e2969cdcdbc3db77d276165934b4

Contents?: true

Size: 609 Bytes

Versions: 3

Compression:

Stored size: 609 Bytes

Contents

require 'fog/core/collection'
require 'fog/azurerm/models/storage/blob'

module Fog
  module Storage
    class AzureRM
      # This class is giving implementation of listing blobs.
      class Blobs < Fog::Collection
        model Fog::Storage::AzureRM::Blob
        attribute :container_name

        def get_blob_metadata(container_name, name)
          service.get_blob_metadata(container_name, name)
        end

        def set_blob_metadata(container_name, name, metadata)
          service.set_blob_metadata(container_name, name, metadata)
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
fog-azure-rm-0.0.6 lib/fog/azurerm/models/storage/blobs.rb
fog-azure-rm-0.0.5 lib/fog/azurerm/models/storage/blobs.rb
fog-azure-rm-0.0.4 lib/fog/azurerm/models/storage/blobs.rb