Class: Actions::Middleware::LoadSettingValues

Inherits:
Dynflow::Middleware
  • Object
show all
Defined in:
app/lib/actions/middleware/load_setting_values.rb

Instance Method Summary collapse

Instance Method Details

#delay(*args) ⇒ Object

::Actions::Middleware::LoadSettingValues

A middleware to ensure we load current setting values



8
9
10
11
# File 'app/lib/actions/middleware/load_setting_values.rb', line 8

def delay(*args)
  reload_setting_values
  pass(*args)
end

#finalize(*args) ⇒ Object



23
24
25
26
# File 'app/lib/actions/middleware/load_setting_values.rb', line 23

def finalize(*args)
  reload_setting_values
  pass(*args)
end

#hook(*args) ⇒ Object



28
29
30
31
# File 'app/lib/actions/middleware/load_setting_values.rb', line 28

def hook(*args)
  reload_setting_values
  pass(*args)
end

#plan(*args) ⇒ Object



13
14
15
16
# File 'app/lib/actions/middleware/load_setting_values.rb', line 13

def plan(*args)
  reload_setting_values
  pass(*args)
end

#run(*args) ⇒ Object



18
19
20
21
# File 'app/lib/actions/middleware/load_setting_values.rb', line 18

def run(*args)
  reload_setting_values
  pass(*args)
end