Sha256: 71bc03559f18940d1d0b202b70caa133f098b454b80017d7983d77a40bac9836

Contents?: true

Size: 198 Bytes

Versions: 17

Compression:

Stored size: 198 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

17 entries across 17 versions & 1 rubygems

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