Sha256: eb3dd8acab5da95076da129ff2b0c8e98faca762f54f70c8cd1b1566c1f9cb21
Contents?: true
Size: 1.36 KB
Versions: 3
Compression:
Stored size: 1.36 KB
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; # case LOT: # LotEntry lot; # case PARTICIPANT: # ParticipantEntry participant; # case MESSAGE: # MessageEntry message; # case PROOF: # ProofEntry proof; # } # # =========================================================================== module Stellar class LedgerEntry class Data < XDR::Union switch_on LedgerEntryType, :type switch :account, :account switch :trustline, :trust_line switch :offer, :offer switch :lot, :lot switch :participant, :participant switch :message, :message switch :proof, :proof attribute :account, AccountEntry attribute :trust_line, TrustLineEntry attribute :offer, OfferEntry attribute :lot, LotEntry attribute :participant, ParticipantEntry attribute :message, MessageEntry attribute :proof, ProofEntry end end end
Version data entries
3 entries across 3 versions & 1 rubygems