Sha256: 9b49a13cae960e051785a707e15818c2b93635f5d37e034ad6b7622d5ebcf7af
Contents?: true
Size: 1.07 KB
Versions: 2
Compression:
Stored size: 1.07 KB
Contents
# Automatically generated on 2015-04-26T19:13:29-07:00 # 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; # Currency currency; # } trustLine; # # case OFFER: # struct # { # AccountID accountID; # 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
stellar-base-0.0.3 | generated/stellar/ledger_key.rb |
stellar-base-0.0.2 | generated/stellar/ledger_key.rb |