Class: Cul::Fedora::Arm::Tasks::ReservePidsTask
- Defined in:
- lib/cul/fedora/arm/tasks.rb
Instance Method Summary collapse
-
#initialize(numPids, namespace = "demo") ⇒ ReservePidsTask
constructor
A new instance of ReservePidsTask.
Methods inherited from Task
Constructor Details
#initialize(numPids, namespace = "demo") ⇒ ReservePidsTask
Returns a new instance of ReservePidsTask.
38 39 40 41 42 43 44 |
# File 'lib/cul/fedora/arm/tasks.rb', line 38 def initialize(numPids, namespace="demo") super() @apim = :getNextPID @numPids = numPids @namespace = namespace @args = {:numPIDs=>numPids,:pidNamespace=>namespace} end |