Module: Hyrax::EmbargoHelper

Included in:
HyraxHelperBehavior
Defined in:
app/helpers/hyrax/embargo_helper.rb

Instance Method Summary collapse

Instance Method Details

#assets_under_embargoObject



7
8
9
# File 'app/helpers/hyrax/embargo_helper.rb', line 7

def assets_under_embargo
  @assets_under_embargo ||= EmbargoService.assets_under_embargo
end

#assets_with_deactivated_embargoesObject



11
12
13
# File 'app/helpers/hyrax/embargo_helper.rb', line 11

def assets_with_deactivated_embargoes
  @assets_with_deactivated_embargoes ||= EmbargoService.assets_with_deactivated_embargoes
end

#assets_with_expired_embargoesObject



3
4
5
# File 'app/helpers/hyrax/embargo_helper.rb', line 3

def assets_with_expired_embargoes
  @assets_with_expired_embargoes ||= EmbargoService.assets_with_expired_embargoes
end