Class: Cul::Fedora::Arm::Tasks::InsertFoxmlTask
- Inherits:
-
InsertTask
- Object
- Task
- InsertTask
- Cul::Fedora::Arm::Tasks::InsertFoxmlTask
- Defined in:
- lib/cul/fedora/arm/tasks.rb
Instance Method Summary collapse
-
#initialize(data) ⇒ InsertFoxmlTask
constructor
A new instance of InsertFoxmlTask.
Methods inherited from InsertTask
Methods inherited from Task
Constructor Details
#initialize(data) ⇒ InsertFoxmlTask
Returns a new instance of InsertFoxmlTask.
58 59 60 61 62 63 |
# File 'lib/cul/fedora/arm/tasks.rb', line 58 def initialize(data) super() @args[:logMessage] = 'Batch update' @args[:format] = 'info:fedora/fedora-system:FOXML-1.1' @args[:objectXML] = data end |