Sha256: 72c48a77a6e924a98c9f4e43caae9ffed18b25eaf8806e4af83b211855a604c2

Contents?: true

Size: 736 Bytes

Versions: 2

Compression:

Stored size: 736 Bytes

Contents

# Automatically generated on 2015-04-26T19:13:29-07:00
# DO NOT EDIT or your changes may be overwritten
        
require 'xdr'

# === xdr source ============================================================
#
#   union PaymentResult switch (PaymentResultCode code)
#   {
#   case PAYMENT_SUCCESS:
#       void;
#   case PAYMENT_SUCCESS_MULTI:
#       PaymentSuccessMultiResult multi;
#   default:
#       void;
#   };
#
# ===========================================================================
module Stellar
  class PaymentResult < XDR::Union
    switch_on PaymentResultCode, :code

    switch :payment_success
    switch :payment_success_multi, :multi
    switch :default

    attribute :multi, PaymentSuccessMultiResult
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
stellar-base-0.0.3 generated/stellar/payment_result.rb
stellar-base-0.0.2 generated/stellar/payment_result.rb