Sha256: e8e868f9d5ae6d35fc7c622ef1f2701858f1ef9929c7d9f94b3d3bc97560acb1
Contents?: true
Size: 466 Bytes
Versions: 11
Compression:
Stored size: 466 Bytes
Contents
# -*- encoding : utf-8 -*- require 'active_support' module Cul::Hydra::Models module RelsInt extend ActiveSupport::Concern included do self.has_metadata :name=>"RELS-INT", :type=>Cul::Hydra::Datastreams::RelsInt end def rels_int if !datastreams.has_key?("RELS-INT") ds = Cul::Hydra::Datastreams::RelsInt.new(@inner_object, "RELS-INT") add_datastream(ds) end return datastreams["RELS-INT"] end end end
Version data entries
11 entries across 11 versions & 1 rubygems