examples/properties/with_field_path.rb in transcriber-0.0.3 vs examples/properties/with_field_path.rb in transcriber-0.0.4

- old
+ new

@@ -2,9 +2,9 @@ class Customer < Transcriber::Resource property :login, field: 'hidden.login' end -root = Customer.parse({"hidden" => {"login" => 2000}}).first +@root = Customer.parse({"hidden" => {"login" => 'jackiechan2010'}}).first -puts "root: #{root.inspect}" -puts "resource: #{root.resource}" +puts "root: #{@root.inspect}" +puts "resource: #{@root.resource}"