generated/stellar/ledger_entry/data.rb in stellar-base-0.10.0 vs generated/stellar/ledger_entry/data.rb in stellar-base-0.11.0
- old
+ new
@@ -11,10 +11,12 @@
# AccountEntry account;
# case TRUSTLINE:
# TrustLineEntry trustLine;
# case OFFER:
# OfferEntry offer;
+# case DATA:
+# DataEntry data;
# }
#
# ===========================================================================
module Stellar
class LedgerEntry
@@ -22,12 +24,14 @@
switch_on LedgerEntryType, :type
switch :account, :account
switch :trustline, :trust_line
switch :offer, :offer
+ switch :data, :data
attribute :account, AccountEntry
attribute :trust_line, TrustLineEntry
attribute :offer, OfferEntry
+ attribute :data, DataEntry
end
end
end