Sha256: bbe7688ac5cab23eaba21485dc941c953557e8535bce3866423919f45b3a9e4f

Contents?: true

Size: 215 Bytes

Versions: 2

Compression:

Stored size: 215 Bytes

Contents

$:.push 'lib'; require 'transcriber'

class Customer < Transcriber::Resource
  property :login
end

root = Customer.parse({"login" => 2000}).first

puts "root:     #{root.inspect}"
puts "resource: #{root.resource}"

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
transcriber-0.0.3 examples/properties/simple.rb
transcriber-0.0.2 examples/properties/simple.rb