Sha256: b76ad8871d86eabcce1b6f86193ca7e53e0485e874a0f3e4f7d6642a873dee30

Contents?: true

Size: 323 Bytes

Versions: 14

Compression:

Stored size: 323 Bytes

Contents

class TestDatastream < ActiveFedora::NtriplesRDFDatastream
  map_predicates do |map|
    map.title(:in => RDF::DC)
  end
end
class BaggableDummy < ActiveFedora::Base
  include Hybag::Baggable
  delegate_to :descMetadata, [:title]
  has_metadata 'descMetadata', type: TestDatastream
  has_file_datastream name: "content"
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
hybag-0.2.0 spec/dummies/baggable_dummy.rb
hybag-0.1.1 spec/dummies/baggable_dummy.rb
hybag-0.1.0 spec/dummies/baggable_dummy.rb
hybag-0.0.11 spec/dummies/baggable_dummy.rb
hybag-0.0.10 spec/dummies/baggable_dummy.rb
hybag-0.0.9 spec/dummies/baggable_dummy.rb
hybag-0.0.8 spec/dummies/baggable_dummy.rb
hybag-0.0.7 spec/dummies/baggable_dummy.rb
hybag-0.0.6 spec/dummies/baggable_dummy.rb
hybag-0.0.5 spec/dummies/baggable_dummy.rb
hybag-0.0.4 spec/dummies/baggable_dummy.rb
hybag-0.0.3 spec/dummies/baggable_dummy.rb
hybag-0.0.2 spec/dummies/baggable_dummy.rb
hybag-0.0.1 spec/dummies/baggable_dummy.rb