Class: CondorCloud::CondorAddress
- Inherits:
-
Object
- Object
- CondorCloud::CondorAddress
- Defined in:
- lib/deltacloud/drivers/condor/condor_client.rb
Instance Attribute Summary collapse
-
#ip ⇒ Object
Returns the value of attribute ip.
-
#mac ⇒ Object
Returns the value of attribute mac.
Instance Method Summary collapse
-
#initialize(opts = {}) ⇒ CondorAddress
constructor
A new instance of CondorAddress.
Constructor Details
#initialize(opts = {}) ⇒ CondorAddress
Returns a new instance of CondorAddress.
31 32 33 |
# File 'lib/deltacloud/drivers/condor/condor_client.rb', line 31 def initialize(opts={}) @ip, @mac = opts[:ip], opts[:mac] end |
Instance Attribute Details
#ip ⇒ Object
Returns the value of attribute ip.
28 29 30 |
# File 'lib/deltacloud/drivers/condor/condor_client.rb', line 28 def ip @ip end |
#mac ⇒ Object
Returns the value of attribute mac.
29 30 31 |
# File 'lib/deltacloud/drivers/condor/condor_client.rb', line 29 def mac @mac end |