Sha256: e4894d6f25febb07663c7700930e74713729f5d4b40938fdc949df343367f476

Contents?: true

Size: 307 Bytes

Versions: 1

Compression:

Stored size: 307 Bytes

Contents

module DPLA::MAP
  class TimeSpan < ActiveTriples::Resource
    configure :type => RDF::EDM.TimeSpan
    
    validates_presence_of :originalSourceDate # validates_cardinality_of ... :count => 1?
    
    property :begin, :predicate => RDF::EDM.begin
    property :end, :predicate => RDF::EDM.end
  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/time_span.rb