Class: CephStorage::StorageObject::Xattr

Inherits:
CephRuby::Xattr
  • Object
show all
Extended by:
RadosWrapper
Defined in:
lib/ceph_storage/storage_object/xattr.rb

Overview

Wrapper for RadosObjectEnumerator

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from RadosWrapper

wrap_me

Constructor Details

#initialize(object, name) ⇒ Xattr

Returns a new instance of Xattr.



10
11
12
13
14
15
# File 'lib/ceph_storage/storage_object/xattr.rb', line 10

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

Instance Attribute Details

#objectObject

Returns the value of attribute object.



6
7
8
# File 'lib/ceph_storage/storage_object/xattr.rb', line 6

def object
  @object
end

#pool_factoryObject

Returns the value of attribute pool_factory.



6
7
8
# File 'lib/ceph_storage/storage_object/xattr.rb', line 6

def pool_factory
  @pool_factory
end