Sha256: 1d4a0f504b9bbb264d085d1229b7f7ab23ec77d9203428ef3645817744423c49

Contents?: true

Size: 396 Bytes

Versions: 1

Compression:

Stored size: 396 Bytes

Contents

module DPLA::MAP
  class Collection < ActiveTriples::Resource
    configure :base_uri => 'http://dp.la/api/collections/', :type => RDF::DCMITYPE.Collection

    property :title, :predicate => RDF::DC11.title # any real reason not to use dcterms here? RDF::DC.title
    property :description, :predicate => RDF::DC11.description # any reason not to use dcterms here? RDF::DC.description
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
dpla-map-4.0.0.0.pre.1 lib/dpla/map/collection.rb