Sha256: 8dbd7eb74c0a039a7032ff7c530779b9b9e9c80384887f567f02b0da118710db

Contents?: true

Size: 402 Bytes

Versions: 5

Compression:

Stored size: 402 Bytes

Contents

module Scalaroid
  # Request list for use with TransactionSingleOp.req_list() which does not
  # support commits.
  class JSONReqListTransactionSingleOp < JSONReqList
    def initialize(other = nil)
      super(other)
    end

    # Adds a commit operation to the request list.
    def add_commit()
      raise RuntimeError.new('No commit allowed in TransactionSingleOp.req_list()!')
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
scalaroid-0.0.6 lib/scalaroid/json_req_list_transaction_single_op.rb
scalaroid-0.0.5 lib/scalaroid/json_req_list_transaction_single_op.rb
scalaroid-0.0.4 lib/scalaroid/json_req_list_transaction_single_op.rb
scalaroid-0.0.3 lib/scalaroid/json_req_list_transaction_single_op.rb
scalaroid-0.0.2 lib/scalaroid/json_req_list_transaction_single_op.rb