examples/embeds_one/simple.rb in transcriber-0.0.9 vs examples/embeds_one/simple.rb in transcriber-0.0.10
- old
+ new
@@ -6,9 +6,9 @@
class Item < Transcriber::Resource
property :id
end
-@root = Root.parse({"item" => {"id" => 2000}}).first
+@root = Root.parse({item: {id: 2000}}).first
puts "root: #{@root.inspect}"
puts "resource: #{@root.resource}"
\ No newline at end of file