Created
December 31, 2015 20:37
-
-
Save foxiepaws/f4d6bf3ec5b7a035c45e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| module Partfox | |
| class Part | |
| include DataMapper::Resource | |
| property :part, Serial # since part numbers are xxxx, we just use | |
| # a serial here. | |
| property :class, String | |
| property :value, String | |
| property :name, String | |
| property :description, String | |
| property :properties, YAML | |
| has n, :mfgparts | |
| end | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment