# File lib/fog/baremetal/openstack/models/node.rb, line 38 def update(patch = nil) requires :uuid, :driver if patch merge_attributes(service.patch_node(uuid, patch).body) else # TODO: implement update_node method using PUT method and self.attributes # once it is supported by Ironic raise ArgumentError, 'You need to provide patch attribute. Ironic does not support update by hash yet, only by jsonpatch.' end self end