Sha256: dc01d22db82aac1710fac28bd0292b5fd68aeff577ec6edb4da567479d64b009

Contents?: true

Size: 750 Bytes

Versions: 33

Compression:

Stored size: 750 Bytes

Contents

# This code was automatically generated using xdrgen
# DO NOT EDIT or your changes may be overwritten

require 'xdr'

# === xdr source ============================================================
#
#   union switch (TransactionResultCode code)
#       {
#       case txSUCCESS:
#       case txFAILED:
#           OperationResult results<>;
#       default:
#           void;
#       }
#
# ===========================================================================
module Stellar
  class TransactionResult
    class Result < XDR::Union
      switch_on TransactionResultCode, :code

      switch :tx_success, :results
      switch :tx_failed,  :results
      switch :default

      attribute :results, XDR::VarArray[OperationResult]
    end
  end
end

Version data entries

33 entries across 33 versions & 3 rubygems

Version Path
stellar-base-0.6.0 generated/stellar/transaction_result/result.rb
stellar-base-0.5.0 generated/stellar/transaction_result/result.rb
stellar-base-0.4.0 generated/stellar/transaction_result/result.rb
open-core-0.3.0 generated/stellar/transaction_result/result.rb
stellar-base-0.3.0 generated/stellar/transaction_result/result.rb
stellar-base-0.2.0 generated/stellar/transaction_result/result.rb
stellar-base-0.1.4 generated/stellar/transaction_result/result.rb
stellar-base-0.1.3 generated/stellar/transaction_result/result.rb
stellar-base-0.1.2 generated/stellar/transaction_result/result.rb
stellar-base-0.1.1 generated/stellar/transaction_result/result.rb
stellar-base-0.1.0 generated/stellar/transaction_result/result.rb
stellar-base-0.0.20 generated/stellar/transaction_result/result.rb
stellar-base-0.0.19 generated/stellar/transaction_result/result.rb