class Dopi::StateStoreObserver

Public Class Methods

new(plan, state_store) click to toggle source
# File lib/dopi/state_store.rb, line 145
def initialize(plan, state_store)
  @plan        = plan
  @state_store = state_store
end

Public Instance Methods

update(notify_only = false) click to toggle source
# File lib/dopi/state_store.rb, line 150
def update(notify_only = false)
  @state_store.persist_state(@plan)
end