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