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.22.0 generated/stellar/transaction_result/result.rb
stellar-base-0.21.0 generated/stellar/transaction_result/result.rb
stellar-base-0.20.0 generated/stellar/transaction_result/result.rb
stellar-base-0.19.0 generated/stellar/transaction_result/result.rb
stellar-base-0.18.0 generated/stellar/transaction_result/result.rb
stellar-base-0.17.0 generated/stellar/transaction_result/result.rb
stellar-base-0.16.0 generated/stellar/transaction_result/result.rb
stellar-base-0.15.0 generated/stellar/transaction_result/result.rb
stellar-base-0.14.0 generated/stellar/transaction_result/result.rb
stellar-base-0.13.0 generated/stellar/transaction_result/result.rb
stellar-base-0.12.0 generated/stellar/transaction_result/result.rb
stellar-base-0.11.0 generated/stellar/transaction_result/result.rb
auction-ruby-base-0.1.3 generated/stellar/transaction_result/result.rb
auction-ruby-base-0.1.2 generated/stellar/transaction_result/result.rb
auction-ruby-base-0.1.1 generated/stellar/transaction_result/result.rb
stellar-base-0.10.0 generated/stellar/transaction_result/result.rb
stellar-base-0.9.0 generated/stellar/transaction_result/result.rb
stellar-base-0.8.0 generated/stellar/transaction_result/result.rb
stellar-base-0.7.0 generated/stellar/transaction_result/result.rb
stellar-base-0.6.1 generated/stellar/transaction_result/result.rb