Sha256: e1f23da7ddfdf178f2323f32fc3bece8fa526e467fcdbb0e0c78f993c221aadd

Contents?: true

Size: 325 Bytes

Versions: 11

Compression:

Stored size: 325 Bytes

Contents

module DPLA::MAP
  class TimeSpan < ActiveTriples::Resource
    configure :type => RDF::EDM.TimeSpan
    
    validates_presence_of :providedLabel

    property :providedLabel, :predicate => RDF::DPLA.providedLabel    
    property :begin, :predicate => RDF::EDM.begin
    property :end, :predicate => RDF::EDM.end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
dpla-map-4.0.0.0.pre.12 lib/dpla/map/time_span.rb
dpla-map-4.0.0.0.pre.11 lib/dpla/map/time_span.rb
dpla-map-4.0.0.0.pre.10 lib/dpla/map/time_span.rb
dpla-map-4.0.0.0.pre.9 lib/dpla/map/time_span.rb
dpla-map-4.0.0.0.pre.8 lib/dpla/map/time_span.rb
dpla-map-4.0.0.0.pre.7 lib/dpla/map/time_span.rb
dpla-map-4.0.0.0.pre.6 lib/dpla/map/time_span.rb
dpla-map-4.0.0.0.pre.5 lib/dpla/map/time_span.rb
dpla-map-4.0.0.0.pre.4 lib/dpla/map/time_span.rb
dpla-map-4.0.0.0.pre.3 lib/dpla/map/time_span.rb
dpla-map-4.0.0.0.pre.2 lib/dpla/map/time_span.rb