How to correctly modify the properties of Nodes using Chef-API or Spice

Hello!
We try using Spice, change the properties of nodes: run_list,
attributes.

node = Spice.node(“one”)
node.name = "one"
node.run_list = {:name => “some”, :type => “role”}
node.to_json
node.save

We get the following error:
wrong number of arguments (0 for 1)
Help us, how to correctly modify the properties of Nodes using Chef-API
or Spice

Best regards,
Ilya Maltsev