Sha256: 5b7b1d329f5effe0959cb92b516d791d85c6dc744472dae3a87eee81d497ca9e
Contents?: true
Size: 278 Bytes
Versions: 2
Compression:
Stored size: 278 Bytes
Contents
$:.push 'lib'; require 'transcriber' class Root < Transcriber::Resource embeds_one :item, start_key: "" end class Item < Transcriber::Resource property :id end @root = Root.parse({"id" => 2000}).first puts "root: #{@root.inspect}" puts "resource: #{@root.resource}"
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
transcriber-0.0.9 | examples/embeds_one/flattened.rb |
transcriber-0.0.8 | examples/embeds_one/flattened.rb |