Class: Cul::Fedora::Arm::Tasks::InsertTask
- Defined in:
- lib/cul/fedora/arm/tasks.rb
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize ⇒ InsertTask
constructor
A new instance of InsertTask.
- #post(driver) ⇒ Object
Methods inherited from Task
Constructor Details
#initialize ⇒ InsertTask
Returns a new instance of InsertTask.
47 48 49 50 |
# File 'lib/cul/fedora/arm/tasks.rb', line 47 def initialize() super() @apim = :ingest end |
Instance Method Details
#post(driver) ⇒ Object
51 52 53 54 55 |
# File 'lib/cul/fedora/arm/tasks.rb', line 51 def post(driver) response = super(driver) @pid = @response[:pid] response end |