Sha256: 3696b6476dd3fe2c0aba4afe12684c620b99037490457f3ba0efa724e8e6fe56

Contents?: true

Size: 270 Bytes

Versions: 6

Compression:

Stored size: 270 Bytes

Contents

module Cadet
  class Transaction
    attr_accessor :underlying

    def initialize(session)
      @session = session
      @underlying = @session.begin_tx
    end

    def success
      @underlying.success
    end
    def close
      @underlying.close
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
cadet-0.1.5-java lib/cadet/transaction.rb
cadet-0.1.4-java lib/cadet/transaction.rb
cadet-0.1.3-java lib/cadet/transaction.rb
cadet-0.1.2-java lib/cadet/transaction.rb
cadet-0.1.1-java lib/cadet/transaction.rb
cadet-0.1.0-java lib/cadet/transaction.rb