Sha256: 07df4d9acb7f1a2855c44df627e007e477a81075c1ed08321023c3e45a316bde
Contents?: true
Size: 802 Bytes
Versions: 1
Compression:
Stored size: 802 Bytes
Contents
# Unidom Party 参与者领域模型引擎 [![License](https://img.shields.io/badge/license-MIT-green.svg)](http://opensource.org/licenses/MIT) [![Gem Version](https://badge.fury.io/rb/unidom-party.svg)](https://badge.fury.io/rb/unidom-party) Unidom (UNIfied Domain Object Model) is a series of domain model engines. The Party domain model engine includes Person, Shop, and Company models. Unidom (统一领域对象模型)是一系列的领域模型引擎。参与者领域模型引擎包括个人、店铺、公司的模型。 ## Usage in Gemfile ```ruby gem 'unidom-party' ``` ## Run the Database Migration ```shell rake db:migrate ``` ## Call the Model ```ruby Unidom::Party::Company.valid_at.alive.first Unidom::Party::Shop.valid_at.alive.first Unidom::Party::People.valid_at.alive.first ```
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
unidom-party-0.2 | README.md |