Sha256: 724e2a896888ea94da440ef1055ecd2f1b3e0cc4430aa2b1b7df94e5790cde69
Contents?: true
Size: 821 Bytes
Versions: 11
Compression:
Stored size: 821 Bytes
Contents
# Automatically generated on 2015-05-13T15:00:04-07:00 # DO NOT EDIT or your changes may be overwritten require 'xdr' # === xdr source ============================================================ # # union LedgerEntry switch (LedgerEntryType type) # { # case ACCOUNT: # AccountEntry account; # # case TRUSTLINE: # TrustLineEntry trustLine; # # case OFFER: # OfferEntry offer; # }; # # =========================================================================== module Stellar class LedgerEntry < 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
Version data entries
11 entries across 11 versions & 1 rubygems