generated/stellar/transaction_meta.rb in stellar-base-0.4.0 vs generated/stellar/transaction_meta.rb in stellar-base-0.5.0

- old
+ new

@@ -6,26 +6,18 @@ # === xdr source ============================================================ # # union TransactionMeta switch (int v) # { # case 0: -# struct -# { -# LedgerEntryChanges changes; -# OperationMeta operations<>; -# } v0; +# OperationMeta operations<>; # }; # # =========================================================================== module Stellar class TransactionMeta < XDR::Union - include XDR::Namespace - - autoload :V0 - switch_on XDR::Int, :v - switch 0, :v0 + switch 0, :operations - attribute :v0, V0 + attribute :operations, XDR::VarArray[OperationMeta] end end