Class: Ironfan::Broker::Drive

Inherits:
Ironfan::Builder show all
Defined in:
lib/ironfan/headers.rb,
lib/ironfan/broker/drive.rb

Instance Method Summary collapse

Methods inherited from Ironfan::Builder

ui, #ui

Instance Method Details

#nodeObject

A drive should include volume attributes in any node references


12
13
14
15
16
# File 'lib/ironfan/broker/drive.rb', line 12

def node()
  result = super.stringify_keys
  result.merge! volume.attributes.stringify_keys unless volume.nil?
  result
end