# File lib/fog/profitbricks/models/compute/server.rb, line 68 def update requires :datacenter_id, :id properties = {} properties[:name] = name if name properties[:cores] = cores if cores properties[:ram] = ram if ram properties[:availabilityZone] = availability_zone if availability_zone properties[:cpuFamily] = cpu_family if cpu_family properties[:allowReboot] = allow_reboot if allow_reboot data = service.update_server(datacenter_id, id, properties) merge_attributes(flatten(data.body)) true end