Sha256: cd67d5c6df7b85323ac09374f39cb7a64531844f405de521d5e8d649dc5b0650

Contents?: true

Size: 226 Bytes

Versions: 17

Compression:

Stored size: 226 Bytes

Contents

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

class Customer < Transcriber::Resource
  property :login
end

@root = Customer.parse({login: 'jackiechan2010'}).first

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

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
transcriber-0.0.26 examples/properties/simple.rb
transcriber-0.0.25 examples/properties/simple.rb
transcriber-0.0.24 examples/properties/simple.rb
transcriber-0.0.23 examples/properties/simple.rb
transcriber-0.0.22 examples/properties/simple.rb
transcriber-0.0.21 examples/properties/simple.rb
transcriber-0.0.20 examples/properties/simple.rb
transcriber-0.0.19 examples/properties/simple.rb
transcriber-0.0.18 examples/properties/simple.rb
transcriber-0.0.17 examples/properties/simple.rb
transcriber-0.0.16 examples/properties/simple.rb
transcriber-0.0.15 examples/properties/simple.rb
transcriber-0.0.14 examples/properties/simple.rb
transcriber-0.0.13 examples/properties/simple.rb
transcriber-0.0.12 examples/properties/simple.rb
transcriber-0.0.11 examples/properties/simple.rb
transcriber-0.0.10 examples/properties/simple.rb