Sha256: b38008d2394dfc76d4c8736972e2f8df69a194b011be156ae3d3c5390bd33654
Contents?: true
Size: 355 Bytes
Versions: 6
Compression:
Stored size: 355 Bytes
Contents
$:.push 'lib'; require 'transcriber' class Customer < Transcriber::Resource property :login end @customers = Customer.parse([{"login" => "jackiechan2010"}, {"login" => "brucelee"}, {"login" => "vcr2"}]) puts "root: #{@customers.inspect}" puts "resource: #{Customer.resources @customers}"
Version data entries
6 entries across 6 versions & 1 rubygems