Sha256: 9c805e8580b51d765afdb6bca267c4fb97973b8c4f203e3970b27166a2dbbfc0

Contents?: true

Size: 392 Bytes

Versions: 3

Compression:

Stored size: 392 Bytes

Contents

Sham.define do
  category_name  	{ |i| "Category #{i}" }
  product_name 		{ |i| "Widget #{i}" }
  price						{ ['5.00', '10.00', '20.00', '15.00' , '25.00', '7.50'].rand }
end

Product.blueprint do
	Name					{ Sham.product_name }
	Description		"Test Widget"
	Price					{ Sham.price }
	Category			{ Category.make }
end

Category.blueprint do
	Name					{ Sham.category_name }
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ruby_odata-0.0.3 test/blueprints.rb
ruby_odata-0.0.2 test/blueprints.rb
ruby_odata-0.0.1 test/blueprints.rb