Sha256: 8b6ea97b36383ebe9ad5768793a4941ac0e4715b6843c2a6b3a5e1706a838f5c
Contents?: true
Size: 274 Bytes
Versions: 17
Compression:
Stored size: 274 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
17 entries across 17 versions & 1 rubygems