Sha256: 88d67979e77e2b7819953d51e12335aa9a7a1238dcd2816b65d4881466dc3757

Contents?: true

Size: 259 Bytes

Versions: 13

Compression:

Stored size: 259 Bytes

Contents

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

class Customer < Transcriber::Resource
  property :login, field: :customer_login
end

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

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

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
transcriber-0.0.22 examples/properties/with_field.rb
transcriber-0.0.21 examples/properties/with_field.rb
transcriber-0.0.20 examples/properties/with_field.rb
transcriber-0.0.19 examples/properties/with_field.rb
transcriber-0.0.18 examples/properties/with_field.rb
transcriber-0.0.17 examples/properties/with_field.rb
transcriber-0.0.16 examples/properties/with_field.rb
transcriber-0.0.15 examples/properties/with_field.rb
transcriber-0.0.14 examples/properties/with_field.rb
transcriber-0.0.13 examples/properties/with_field.rb
transcriber-0.0.12 examples/properties/with_field.rb
transcriber-0.0.11 examples/properties/with_field.rb
transcriber-0.0.10 examples/properties/with_field.rb