Sha256: 119b9f9d76a5afce2f0a4e75a178659b723f23f916a6e1f4353f475b6896d925
Contents?: true
Size: 251 Bytes
Versions: 14
Compression:
Stored size: 251 Bytes
Contents
# A test model with an example generator class SimpleModel < Praxis::Mapper::Model def self.generate data = { :id => /\d{10}/.gen.to_i, :name => /\w+/.gen, :parent_id => /\d{10}/.gen.to_i } self.new(data) end end
Version data entries
14 entries across 14 versions & 1 rubygems