Class: Cul::Fedora::Arm::Tasks::InsertFoxmlTask

Inherits:
InsertTask show all
Defined in:
lib/cul/fedora/arm/tasks.rb

Instance Method Summary collapse

Methods inherited from InsertTask

#post

Methods inherited from Task

#post, #response

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