Sha256: e4e9ea5cc23a5554e04a5bfaf04bf4f2deec22cba4d8d0057d132e861b4af391
Contents?: true
Size: 857 Bytes
Versions: 11
Compression:
Stored size: 857 Bytes
Contents
# This code was automatically generated using xdrgen # DO NOT EDIT or your changes may be overwritten require 'xdr' # === xdr source ============================================================ # # union switch (LedgerEntryType type) # { # case ACCOUNT: # AccountEntry account; # case TRUSTLINE: # TrustLineEntry trustLine; # case OFFER: # OfferEntry offer; # } # # =========================================================================== module Stellar class LedgerEntry class Data < XDR::Union switch_on LedgerEntryType, :type switch :account, :account switch :trustline, :trust_line switch :offer, :offer attribute :account, AccountEntry attribute :trust_line, TrustLineEntry attribute :offer, OfferEntry end end end
Version data entries
11 entries across 11 versions & 2 rubygems