Sha256: 85270723f23053d2260f2b8d230c20541eb6182b778ef8d393f233c20d1707de
Contents?: true
Size: 1.05 KB
Versions: 16
Compression:
Stored size: 1.05 KB
Contents
# This code was automatically generated using xdrgen # DO NOT EDIT or your changes may be overwritten require 'xdr' # === xdr source ============================================================ # # union LedgerKey switch (LedgerEntryType type) # { # case ACCOUNT: # struct # { # AccountID accountID; # } account; # # case TRUSTLINE: # struct # { # AccountID accountID; # Asset asset; # } trustLine; # # case OFFER: # struct # { # AccountID sellerID; # uint64 offerID; # } offer; # }; # # =========================================================================== module Stellar class LedgerKey < XDR::Union include XDR::Namespace autoload :Account autoload :TrustLine autoload :Offer switch_on LedgerEntryType, :type switch :account, :account switch :trustline, :trust_line switch :offer, :offer attribute :account, Account attribute :trust_line, TrustLine attribute :offer, Offer end end
Version data entries
16 entries across 16 versions & 2 rubygems