Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

9 lines (9 sloc) 0.257 kb
require 'rubygems'
require 'dm-core'
DataMapper.setup(:default, "sqlite3:///#{Dir.pwd}/lcsh_labels.db")
class Label
include DataMapper::Resource
property :id, Serial
property :uri, String, :index => true
property :label, String, :index => true
end
Jump to Line
Something went wrong with that request. Please try again.