Module: CurationConcerns::LeaseHelper
- Included in:
- MainAppHelpers
- Defined in:
- app/helpers/curation_concerns/lease_helper.rb
Instance Method Summary collapse
- #assets_under_lease ⇒ Object
- #assets_with_deactivated_leases ⇒ Object
- #assets_with_expired_leases ⇒ Object
Instance Method Details
#assets_under_lease ⇒ Object
7 8 9 |
# File 'app/helpers/curation_concerns/lease_helper.rb', line 7 def assets_under_lease @assets_under_lease ||= LeaseService.assets_under_lease end |
#assets_with_deactivated_leases ⇒ Object
11 12 13 |
# File 'app/helpers/curation_concerns/lease_helper.rb', line 11 def assets_with_deactivated_leases @assets_with_deactivated_leases ||= LeaseService.assets_with_deactivated_leases end |
#assets_with_expired_leases ⇒ Object
3 4 5 |
# File 'app/helpers/curation_concerns/lease_helper.rb', line 3 def assets_with_expired_leases @assets_with_expired_leases ||= LeaseService.assets_with_expired_leases end |