Sha256: 7c18085379315809f5e897c5e110c1a35e01cde079ef9e1cb59d88687d3f7c95
Contents?: true
Size: 266 Bytes
Versions: 13
Compression:
Stored size: 266 Bytes
Contents
$:.push 'lib'; require 'transcriber' class Root < Transcriber::Resource embeds_one :item end class Item < Transcriber::Resource property :id end @root = Root.parse({item: {id: 2000}}).first puts "root: #{@root.inspect}" puts "resource: #{@root.resource}"
Version data entries
13 entries across 13 versions & 1 rubygems