Exception: Rubydora::PerformedSoftDelete

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/generators/curate/soft_delete/active_fedora_soft_delete_monkey_patch.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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)
  @options = options
  super("Performed soft delete on '#{pid}' via '#{method_name}'")
end

Instance Attribute Details

#optionsObject (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
  @options
end