Sha256: 90d801a3ffee3a691cfc18a0925ad0826333fbbce417951382d98146b21dde3c

Contents?: true

Size: 448 Bytes

Versions: 2

Compression:

Stored size: 448 Bytes

Contents

module CephStorage
  module StorageObject
    # Wrapper for RadosObjectEnumerator
    class Xattr < ::CephRuby::Xattr
      extend CephStorage::StorageObject::RadosWrapper
      attr_accessor :pool_factory, :object

      wrap_me :read, :write, :destroy

      def initialize(object, name)
        self.pool_factory = object.pool_factory
        self.object = object
        self.name = name
        super(object, name)
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ceph_storage-0.1.1 lib/ceph_storage/storage_object/xattr.rb
ceph_storage-0.1.0 lib/ceph_storage/storage_object/xattr.rb