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

Instance Method Details

#enforce_future_date_for_embargo?Boolean

Override aggressive Hydra::AccessControls validation

Returns:

  • (Boolean)


14
15
16
# File 'app/models/concerns/hyrax/embargoable.rb', line 14

def enforce_future_date_for_embargo?
  false
end

#enforce_future_date_for_lease?Boolean

Override aggressive Hydra::AccessControls validation

Returns:

  • (Boolean)


20
21
22
# File 'app/models/concerns/hyrax/embargoable.rb', line 20

def enforce_future_date_for_lease?
  false
end