Sha256: 23213b164f86ac7ab3cca09f100d50caf8a8021f60a604d1b2fb3fa367d6a8dc

Contents?: true

Size: 281 Bytes

Versions: 16

Compression:

Stored size: 281 Bytes

Contents

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

class Customer < Transcriber::Resource
  property :login, field: 'hidden.login'
end

@root = Customer.new(login: 'jackiechan2010')

puts "root.to_input: #{@root.to_input}"


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

Version data entries

16 entries across 16 versions & 1 rubygems

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