generated/stellar/payment_result.rb in stellar-base-0.0.7 vs generated/stellar/payment_result.rb in stellar-base-0.0.8
- old
+ new
@@ -1,29 +1,25 @@
-# Automatically generated on 2015-05-12T09:08:23-07:00
+# Automatically generated on 2015-05-13T15:00:04-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