class Dopv::StateStoreObserver

Public Class Methods

new(plan, state_store) click to toggle source
# File lib/dopv/state_store.rb, line 77
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/dopv/state_store.rb, line 82
def update(notify_only = false)
  @state_store.persist_state(@plan)
end