Module: Hyrax::Embargoable
- Extended by:
- ActiveSupport::Concern
- Includes:
- Hydra::AccessControls::Embargoable
- Included in:
- WorkBehavior
- Defined in:
- app/models/concerns/hyrax/embargoable.rb
Instance Method Summary collapse
-
#enforce_future_date_for_embargo? ⇒ Boolean
Override aggressive Hydra::AccessControls validation.
-
#enforce_future_date_for_lease? ⇒ Boolean
Override aggressive Hydra::AccessControls validation.
Instance Method Details
#enforce_future_date_for_embargo? ⇒ Boolean
Override aggressive Hydra::AccessControls validation
14 15 16 |
# File 'app/models/concerns/hyrax/embargoable.rb', line 14 def false end |
#enforce_future_date_for_lease? ⇒ Boolean
Override aggressive Hydra::AccessControls validation
20 21 22 |
# File 'app/models/concerns/hyrax/embargoable.rb', line 20 def enforce_future_date_for_lease? false end |