Class: Forked::Worker

Inherits:
Struct
  • Object
show all
Defined in:
lib/forked/worker.rb

Instance Attribute Summary collapse

Instance Attribute Details

#blockObject

Returns the value of attribute block

Returns:

  • (Object)

    the current value of block



2
3
4
# File 'lib/forked/worker.rb', line 2

def block
  @block
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



2
3
4
# File 'lib/forked/worker.rb', line 2

def name
  @name
end

#on_errorObject

Returns the value of attribute on_error

Returns:

  • (Object)

    the current value of on_error



2
3
4
# File 'lib/forked/worker.rb', line 2

def on_error
  @on_error
end

#retry_backoff_limitObject

Returns the value of attribute retry_backoff_limit

Returns:

  • (Object)

    the current value of retry_backoff_limit



2
3
4
# File 'lib/forked/worker.rb', line 2

def retry_backoff_limit
  @retry_backoff_limit
end

#retry_strategyObject

Returns the value of attribute retry_strategy

Returns:

  • (Object)

    the current value of retry_strategy



2
3
4
# File 'lib/forked/worker.rb', line 2

def retry_strategy
  @retry_strategy
end