Class: Paradin::Base

Inherits:
Object
  • Object
show all
Includes:
Configuration, Task
Defined in:
lib/paradin/base.rb

Constant Summary

Constants included from Configuration

Configuration::DEFAULT_MAX_THREADS

Instance Method Summary collapse

Methods included from Task

#async, #await, #enqueue

Methods included from Configuration

included, #max_threads, #timeout

Constructor Details

#initializeBase

Returns a new instance of Base.



7
8
9
# File 'lib/paradin/base.rb', line 7

def initialize
  self.class.send(:private, :perform)
end

Instance Method Details

#perform(*args, **kwargs) ⇒ Object

Raises:

  • (NotImplementedError)


11
12
13
# File 'lib/paradin/base.rb', line 11

def perform(*args, **kwargs)
  raise NotImplementedError
end