Class: Roast::Workflow::WorkflowInitializer

Inherits:
Object
  • Object
show all
Defined in:
lib/roast/workflow/workflow_initializer.rb

Overview

Handles initialization of workflow dependencies: initializers, tools, and API clients

Instance Method Summary collapse

Constructor Details

#initialize(configuration) ⇒ WorkflowInitializer

Returns a new instance of WorkflowInitializer.



7
8
9
# File 'lib/roast/workflow/workflow_initializer.rb', line 7

def initialize(configuration)
  @configuration = configuration
end

Instance Method Details

#setupObject



11
12
13
14
15
16
# File 'lib/roast/workflow/workflow_initializer.rb', line 11

def setup
  load_roast_initializers
  check_raix_configuration
  include_tools
  configure_api_client
end