Class: Openwsman::ObjectPath

Inherits:
Object
  • Object
show all
Defined in:
lib/wbem/openwsman.rb

Overview

Capture namespace, classname, and properties as ObjectPath

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(namespace, classname = nil, properties = {}) ⇒ ObjectPath

Returns a new instance of ObjectPath



34
35
36
37
38
# File 'lib/wbem/openwsman.rb', line 34

def initialize namespace, classname = nil, properties = {}
  @namespace = namespace
  @classname = classname
  @properties = properties
end

Instance Attribute Details

#classnameObject (readonly)

Returns the value of attribute classname



33
34
35
# File 'lib/wbem/openwsman.rb', line 33

def classname
  @classname
end

#namespaceObject (readonly)

Returns the value of attribute namespace



33
34
35
# File 'lib/wbem/openwsman.rb', line 33

def namespace
  @namespace
end

#propertiesObject (readonly)

Returns the value of attribute properties



33
34
35
# File 'lib/wbem/openwsman.rb', line 33

def properties
  @properties
end