Sha256: 81d051e19175b3f2eed6dd63b4b4c0e25b128c156e2d6f0203888ee06423accd
Contents?: true
Size: 310 Bytes
Versions: 30
Compression:
Stored size: 310 Bytes
Contents
$:.push 'examples'; require 'helper' class Customer < RestModel property :login, field: 'hidden.login' embeds_one :address end class Address < RestModel properties :street, :number end @root = Customer.new(login: 'jackiechan2010', address: {street: "Aurora St", number: 666}) inspect_rest_model(@root)
Version data entries
30 entries across 30 versions & 1 rubygems