Exception: Rubydora::PerformedSoftDelete
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Rubydora::PerformedSoftDelete
- Defined in:
- lib/generators/curate/soft_delete/active_fedora_soft_delete_monkey_patch.rb
Instance Attribute Summary collapse
-
#options ⇒ Object
readonly
Returns the value of attribute options.
Instance Method Summary collapse
-
#initialize(method_name, pid, options) ⇒ PerformedSoftDelete
constructor
A new instance of PerformedSoftDelete.
Constructor Details
#initialize(method_name, pid, options) ⇒ PerformedSoftDelete
Returns a new instance of PerformedSoftDelete.
10 11 12 13 |
# File 'lib/generators/curate/soft_delete/active_fedora_soft_delete_monkey_patch.rb', line 10 def initialize(method_name, pid, ) @options = super("Performed soft delete on '#{pid}' via '#{method_name}'") end |
Instance Attribute Details
#options ⇒ Object (readonly)
Returns the value of attribute options.
9 10 11 |
# File 'lib/generators/curate/soft_delete/active_fedora_soft_delete_monkey_patch.rb', line 9 def @options end |