Sha256: 3084e832f1310641246964621e260437b81be43154e57b9b4741d8acca26946e
Contents?: true
Size: 472 Bytes
Versions: 21
Compression:
Stored size: 472 Bytes
Contents
module Hydra module AccessControls module WithAccessRight extend ActiveSupport::Concern def under_embargo? @under_embargo ||= rightsMetadata.under_embargo? end delegate :open_access?, :open_access_with_embargo_release_date?, :authenticated_only_access?, :private_access?, to: :access_rights protected def access_rights @access_rights ||= AccessRight.new(self) end end end end
Version data entries
21 entries across 21 versions & 1 rubygems