Class: Openwsman::ObjectPath
- Inherits:
-
Object
- Object
- Openwsman::ObjectPath
- Defined in:
- lib/wbem/wsman.rb
Overview
Capture namespace, classname, and properties as ObjectPath
Instance Attribute Summary collapse
-
#classname ⇒ Object
readonly
Returns the value of attribute classname.
-
#namespace ⇒ Object
readonly
Returns the value of attribute namespace.
-
#properties ⇒ Object
readonly
Returns the value of attribute properties.
Instance Method Summary collapse
-
#initialize(namespace, classname = nil, properties = {}) ⇒ ObjectPath
constructor
A new instance of ObjectPath.
Constructor Details
#initialize(namespace, classname = nil, properties = {}) ⇒ ObjectPath
Returns a new instance of ObjectPath.
45 46 47 48 49 |
# File 'lib/wbem/wsman.rb', line 45 def initialize namespace, classname = nil, properties = {} @namespace = namespace @classname = classname @properties = properties end |
Instance Attribute Details
#classname ⇒ Object (readonly)
Returns the value of attribute classname.
44 45 46 |
# File 'lib/wbem/wsman.rb', line 44 def classname @classname end |
#namespace ⇒ Object (readonly)
Returns the value of attribute namespace.
44 45 46 |
# File 'lib/wbem/wsman.rb', line 44 def namespace @namespace end |
#properties ⇒ Object (readonly)
Returns the value of attribute properties.
44 45 46 |
# File 'lib/wbem/wsman.rb', line 44 def properties @properties end |