Freshly/flow

View on GitHub
lib/flow/flow/transactions.rb

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
# frozen_string_literal: true

# Flows where no operation should be persisted unless all are successful should use a transaction.
module Flow
  module Flow
    module Transactions
      extend ActiveSupport::Concern

      class_methods do
        def callback_name
          :flux
        end
      end
    end
  end
end