examples/embeds_one/simple.rb in transcriber-0.0.3 vs examples/embeds_one/simple.rb in transcriber-0.0.4
- 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}"
+puts "root: #{@root.inspect}"
+puts "resource: #{@root.resource}"
\ No newline at end of file