$:.push 'examples'; require 'helper' class Root < RestModel embeds_one :item end class Item < RestModel properties :id, :name end @root = Root.parse({item: {id: 2000}}).first inspect_rest_model(@root)