Sha256: ae09082876871882c81064e137d9ef1fcae9e5b63d86b0d1504c004e49bee34e

Contents?: true

Size: 361 Bytes

Versions: 4

Compression:

Stored size: 361 Bytes

Contents

module Scriptures
  class Volume
    include DataMapper::Resource

    storage_names[:default] = 'volumes'

    property :id,           Integer, :key => true
    property :title,        String
    property :proper_title, String
    property :subtitle,     String
    property :abbreviation, String
    property :idx,          String

    has n, :books
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
scriptures-0.0.5 lib/scriptures/models/volume.rb
scriptures-0.0.4 lib/scriptures/models/volume.rb
scriptures-0.0.3 lib/scriptures/models/volume.rb
scriptures-0.0.1 lib/scriptures/models/volume.rb