Method: Keymaker::Node::InstanceMethods#update

Defined in:
lib/keymaker/node.rb

#update(attrs) ⇒ Object



118
119
120
121
# File 'lib/keymaker/node.rb', line 118

def update(attrs)
  process_attrs(sanitize(attrs.merge(updated_at: Time.now.utc.to_i)))
  neo_service.update_node_properties(node_id, sanitize(attributes))
end