class Hive::Worker::Shell

The Shell worker

Public Class Methods

new(options = {}) click to toggle source
Calls superclass method Hive::Worker::new
# File lib/hive/worker/shell.rb, line 7
def initialize(options = {})
  @default_component ||= "#{self.class.to_s} [#{$$}]"
  super
end

Public Instance Methods

autogenerated_queues() click to toggle source

List of autogenerated queues for the worker

# File lib/hive/worker/shell.rb, line 16
def autogenerated_queues
  @options['queues'] || []
end
hive_mind_device_identifiers() click to toggle source

Parameters for uniquely identifying the device

# File lib/hive/worker/shell.rb, line 21
def hive_mind_device_identifiers
  { id: @hive_id }
end
pre_script(job, file_system, script) click to toggle source
# File lib/hive/worker/shell.rb, line 12
def pre_script(job, file_system, script)
end