Class: RigidWorkflow::Configuration

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

Overview

Configuration for RigidWorkflow

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#admin_controllerObject

Returns the value of attribute admin_controller

Returns:

  • (Object)

    the current value of admin_controller



18
19
20
# File 'lib/rigid_workflow.rb', line 18

def admin_controller
  @admin_controller
end

#loggingObject

Returns the value of attribute logging

Returns:

  • (Object)

    the current value of logging



18
19
20
# File 'lib/rigid_workflow.rb', line 18

def logging
  @logging
end

#max_attemptsObject

Returns the value of attribute max_attempts

Returns:

  • (Object)

    the current value of max_attempts



18
19
20
# File 'lib/rigid_workflow.rb', line 18

def max_attempts
  @max_attempts
end

#retry_delayObject

Returns the value of attribute retry_delay

Returns:

  • (Object)

    the current value of retry_delay



18
19
20
# File 'lib/rigid_workflow.rb', line 18

def retry_delay
  @retry_delay
end

Instance Method Details

#logging?Boolean

Returns:

  • (Boolean)


20
21
22
# File 'lib/rigid_workflow.rb', line 20

def logging?
  logging || false
end