module Hyrax::Ingest::HasSIP
Public Instance Methods
sip()
click to toggle source
@return [Hyrax::Ingest::SIP] the value of @sip attribute.
# File lib/hyrax/ingest/has_sip.rb, line 17 def sip; @sip; end
sip=(sip)
click to toggle source
# File lib/hyrax/ingest/has_sip.rb, line 9 def sip=(sip) unless sip.nil? raise Hyrax::Ingest::Errors::InvalidSIP.new(sip) unless sip.is_a? Hyrax::Ingest::SIP end @sip = sip end