Sha256: 8394f8afbe592b50e18c641c535a854e852cb614053898acdee66abc571f097c

Contents?: true

Size: 364 Bytes

Versions: 8

Compression:

Stored size: 364 Bytes

Contents

# frozen_string_literal: true

class ActiveOrm::Redis::Transaction < ActiveOrm::Redis::Base
  class << self

    def discard
      client.discard
    end

    def exec
      client.exec
    end

    def multi(&block)
      client.multi(&block)
    end

    def watch(*args)
      client.watch(args)
    end

    def unwatch
      client.unwatch
    end

  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
active_orm-5.1.0 lib/active_orm/redis/transaction.rb
active_orm-5.0.6 lib/active_orm/redis/transaction.rb
active_orm-5.0.5 lib/active_orm/redis/transaction.rb
active_orm-5.0.4 lib/active_orm/redis/transaction.rb
active_orm-5.0.3 lib/active_orm/redis/transaction.rb
active_orm-5.0.2 lib/active_orm/redis/transaction.rb
active_orm-5.0.1 lib/active_orm/redis/transaction.rb
active_orm-5.0.0 lib/active_orm/redis/transaction.rb