Sha256: 00816a43466526e9c241fdc707e03105d778e267a7f43b9efc2c5d76ccf9ff58

Contents?: true

Size: 736 Bytes

Versions: 1

Compression:

Stored size: 736 Bytes

Contents

# Automatically generated on 2015-04-07T10:52:07-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

1 entries across 1 versions & 1 rubygems

Version Path
stellar-base-0.0.1 generated/stellar/payment_result.rb