Class: MiqDrbReturn

Inherits:
Object
  • Object
show all
Defined in:
lib/VMwareWebService/DMiqVim.rb

Overview

Class used to wrap locked object and return it through DRB.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(obj, lock = nil) ⇒ MiqDrbReturn

Returns a new instance of MiqDrbReturn.



10
11
12
13
# File 'lib/VMwareWebService/DMiqVim.rb', line 10

def initialize(obj, lock = nil)
  @obj = obj
  @lock = lock
end

Instance Attribute Details

#lockObject

Returns the value of attribute lock.



8
9
10
# File 'lib/VMwareWebService/DMiqVim.rb', line 8

def lock
  @lock
end

#objObject

Returns the value of attribute obj.



8
9
10
# File 'lib/VMwareWebService/DMiqVim.rb', line 8

def obj
  @obj
end