Sha256: bd76b576cdbfdb4659bcd86641ea116ac39cbd84fbeec894a2868820353fa53a
Contents?: true
Size: 1.33 KB
Versions: 5
Compression:
Stored size: 1.33 KB
Contents
# Automatically generated on 2015-05-13T15:00:04-07:00 # DO NOT EDIT or your changes may be overwritten require 'xdr' # === xdr source ============================================================ # # union OperationResult switch (OperationResultCode code) # { # case opINNER: # union switch (OperationType type) # { # case CREATE_ACCOUNT: # CreateAccountResult createAccountResult; # case PAYMENT: # PaymentResult paymentResult; # case PATH_PAYMENT: # PathPaymentResult pathPaymentResult; # case CREATE_OFFER: # CreateOfferResult createOfferResult; # case SET_OPTIONS: # SetOptionsResult setOptionsResult; # case CHANGE_TRUST: # ChangeTrustResult changeTrustResult; # case ALLOW_TRUST: # AllowTrustResult allowTrustResult; # case ACCOUNT_MERGE: # AccountMergeResult accountMergeResult; # case INFLATION: # InflationResult inflationResult; # } # tr; # default: # void; # }; # # =========================================================================== module Stellar class OperationResult < XDR::Union include XDR::Namespace autoload :Tr switch_on OperationResultCode, :code switch :op_inner, :tr switch :default attribute :tr, Tr end end
Version data entries
5 entries across 5 versions & 1 rubygems