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

Version Path
cul_hydra-1.11.2 app/models/concerns/cul/hydra/models/rels_int.rb
cul_hydra-1.11.1 app/models/concerns/cul/hydra/models/rels_int.rb
cul_hydra-1.11.0 app/models/concerns/cul/hydra/models/rels_int.rb
cul_hydra-1.10.0 app/models/concerns/cul/hydra/models/rels_int.rb
cul_hydra-1.9.6 app/models/concerns/cul/hydra/models/rels_int.rb
cul_hydra-1.9.5 app/models/concerns/cul/hydra/models/rels_int.rb
cul_hydra-1.9.4 app/models/concerns/cul/hydra/models/rels_int.rb
cul_hydra-1.9.3 app/models/concerns/cul/hydra/models/rels_int.rb
cul_hydra-1.9.2 app/models/concerns/cul/hydra/models/rels_int.rb
cul_hydra-1.9.1 app/models/concerns/cul/hydra/models/rels_int.rb
cul_hydra-1.9.0 app/models/concerns/cul/hydra/models/rels_int.rb