generated/stellar/trust_line_entry/ext.rb in stellar-base-0.17.0 vs generated/stellar/trust_line_entry/ext.rb in stellar-base-0.18.0

- old
+ new

@@ -7,18 +7,36 @@ # # union switch (int v) # { # case 0: # void; +# case 1: +# struct +# { +# Liabilities liabilities; +# +# union switch (int v) +# { +# case 0: +# void; +# } +# ext; +# } v1; # } # # =========================================================================== module Stellar class TrustLineEntry class Ext < XDR::Union + include XDR::Namespace + + autoload :V1 + switch_on XDR::Int, :v switch 0 + switch 1, :v1 + attribute :v1, V1 end end end