generated/stellar/ledger_entry/data.rb in stellar-base-0.23.1 vs generated/stellar/ledger_entry/data.rb in stellar-base-0.24.0.pre.1
- old
+ new
@@ -13,25 +13,29 @@
# TrustLineEntry trustLine;
# case OFFER:
# OfferEntry offer;
# case DATA:
# DataEntry data;
+# case CLAIMABLE_BALANCE:
+# ClaimableBalanceEntry claimableBalance;
# }
#
# ===========================================================================
module Stellar
class LedgerEntry
class Data < XDR::Union
switch_on LedgerEntryType, :type
- switch :account, :account
- switch :trustline, :trust_line
- switch :offer, :offer
- switch :data, :data
+ switch :account, :account
+ switch :trustline, :trust_line
+ switch :offer, :offer
+ switch :data, :data
+ switch :claimable_balance, :claimable_balance
- attribute :account, AccountEntry
- attribute :trust_line, TrustLineEntry
- attribute :offer, OfferEntry
- attribute :data, DataEntry
+ attribute :account, AccountEntry
+ attribute :trust_line, TrustLineEntry
+ attribute :offer, OfferEntry
+ attribute :data, DataEntry
+ attribute :claimable_balance, ClaimableBalanceEntry
end
end
end