Module: Hyrax::Ingest::HasSharedSIP

Included in:
Ingester::Base, Runner
Defined in:
lib/hyrax/ingest/has_shared_sip.rb

Instance Method Summary collapse

Instance Method Details

#shared_sipObject



15
16
17
# File 'lib/hyrax/ingest/has_shared_sip.rb', line 15

def shared_sip
  @shared_sip
end

#shared_sip=(shared_sip) ⇒ Object



8
9
10
11
12
13
# File 'lib/hyrax/ingest/has_shared_sip.rb', line 8

def shared_sip=(shared_sip)
  unless shared_sip.nil?
    raise Hyrax::Ingest::Errors::InvalidSIP.new(shared_sip) unless shared_sip.is_a? Hyrax::Ingest::SIP
  end
  @shared_sip = shared_sip
end