generated/stellar/ledger_entry/ext.rb in stellar-base-0.23.1 vs generated/stellar/ledger_entry/ext.rb in stellar-base-0.24.0.pre.1
- old
+ new
@@ -7,18 +7,22 @@
#
# union switch (int v)
# {
# case 0:
# void;
+# case 1:
+# LedgerEntryExtensionV1 v1;
# }
#
# ===========================================================================
module Stellar
class LedgerEntry
class Ext < XDR::Union
switch_on XDR::Int, :v
switch 0
+ switch 1, :v1
+ attribute :v1, LedgerEntryExtensionV1
end
end
end