lib/dirty_pipeline/storage.rb in dirty_pipeline-0.6.0 vs lib/dirty_pipeline/storage.rb in dirty_pipeline-0.6.1
- old
+ new
@@ -63,9 +63,10 @@
def valid_store?
(store.keys & %w(status events errors state)).size.eql?(4)
end
+ # FIXME: save! - configurable method
def save!
subject.send("#{field}=", store)
subject.save!
end