Sha256: 5a293809cc508b31fea2154c1d969cbe1f72ec953955e41851e7f735aa282b42
Contents?: true
Size: 253 Bytes
Versions: 5
Compression:
Stored size: 253 Bytes
Contents
$:.push 'lib'; require 'transcriber' class Customer < Transcriber::Resource property :products, type: Enumerable end @root = Customer.parse({'products' => ['a', 'b', 'c']}).first puts "root: #{@root.inspect}" puts "resource: #{@root.resource}"
Version data entries
5 entries across 5 versions & 1 rubygems