Sha256: dd7d66a9c4104e66c7b0cb4ef13f97c49ce9d9433fd52ae40747d7a5d3a578aa

Contents?: true

Size: 324 Bytes

Versions: 2

Compression:

Stored size: 324 Bytes

Contents

# frozen_string_literal: true

module Dynflow
  module TransactionAdapters
    class Abstract
      # start transaction around +block+
      def transaction(&block)
        raise NotImplementedError
      end

      # rollback the transaction
      def rollback
        raise NotImplementedError
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
dynflow-1.9.0 lib/dynflow/transaction_adapters/abstract.rb
dynflow-1.8.3 lib/dynflow/transaction_adapters/abstract.rb