Sha256: 4e124a57584bd8ba6a10663a6447ab5a84490a3c542bd8fb3b1b1ce3963f5111

Contents?: true

Size: 367 Bytes

Versions: 1

Compression:

Stored size: 367 Bytes

Contents

module DmPanlex
   class Apli
      include DataMapper::Resource

      storage_names[:default] = 'apli'

      property :id, Integer, :key => true
      property :li, String, :length => 2, :required => true, :unique_index => true
      property :pl, Text, :required => true, :unique_index => true

      has n, :aps, :parent_key => :li, :child_key => :li
   end
end

Version data entries

1 entries across 1 versions & 1 rubygems

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