lib/fog/compute/ecloud/requests/virtual_machine_edit_hardware_configuration.rb
Method build_request_body_edit_hardware_configuration
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def build_request_body_edit_hardware_configuration(data)
xml = Builder::XmlMarkup.new
xml.HardwareConfiguration do
xml.ProcessorCount data[:cpus]
xml.Memory do