Sha256: c016f57ac4a7f3d7588f765ec61f43462be76e552a1943b582a310717a6b3f39

Contents?: true

Size: 308 Bytes

Versions: 2

Compression:

Stored size: 308 Bytes

Contents

module DmPanlex
   class Dm
      include DataMapper::Resource

      storage_names[:default] = 'dm'

      property :dm, Integer, :key => true
      property :mn, Integer, :required => true, :unique_index => :dm_mn_key
      property :ex, Integer, :required => true, :unique_index => :dm_mn_key

   end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
dm_panlex-0.2.2 lib/dm_panlex/models/dm.rb
dm_panlex-0.2.1 lib/dm_panlex/models/dm.rb