Module: Hyrax::LeaseHelper

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

Instance Method Summary collapse

Instance Method Details

#assets_under_leaseObject



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

def assets_under_lease
  @assets_under_lease ||= LeaseService.assets_under_lease
end

#assets_with_deactivated_leasesObject



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

def assets_with_deactivated_leases
  @assets_with_deactivated_leases ||= LeaseService.assets_with_deactivated_leases
end

#assets_with_expired_leasesObject



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

def assets_with_expired_leases
  @assets_with_expired_leases ||= LeaseService.assets_with_expired_leases
end