Sha256: ba5caedee0caf88d1bacc1f83b8674b18e962a4e11c8a1797215a25da5c487b1

Contents?: true

Size: 202 Bytes

Versions: 6

Compression:

Stored size: 202 Bytes

Contents

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

class Customer < Transcriber::Resource
  id
end

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

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

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
transcriber-0.0.9 examples/properties/with_id.rb
transcriber-0.0.8 examples/properties/with_id.rb
transcriber-0.0.7 examples/properties/with_id.rb
transcriber-0.0.6 examples/properties/with_id.rb
transcriber-0.0.5 examples/properties/with_id.rb
transcriber-0.0.4 examples/properties/with_id.rb