Sha256: 96f8c9a31a4a194ff93979e08a486700cad4f890dcb764f954cb6cd9f9ead6ef

Contents?: true

Size: 318 Bytes

Versions: 1

Compression:

Stored size: 318 Bytes

Contents

module DmPanlex
   class Av
      include DataMapper::Resource

      storage_names[:default] = 'av'

      property :ap, Integer, :key => true
      property :lv, Integer, :key => true

      belongs_to :ap, :parent_key => :ap, :child_key => :ap
      belongs_to :lv, :parent_key => :lv, :child_key => :lv
   end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
dm_panlex-0.2.0 lib/dm_panlex/models/av.rb