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

Version Path
stellar-base-0.0.18 generated/stellar/ledger_entry.rb
stellar-base-0.0.17 generated/stellar/ledger_entry.rb
stellar-base-0.0.16 generated/stellar/ledger_entry.rb
stellar-base-0.0.15 generated/stellar/ledger_entry.rb
stellar-base-0.0.14 generated/stellar/ledger_entry.rb
stellar-base-0.0.13 generated/stellar/ledger_entry.rb
stellar-base-0.0.12 generated/stellar/ledger_entry.rb
stellar-base-0.0.11 generated/stellar/ledger_entry.rb
stellar-base-0.0.10 generated/stellar/ledger_entry.rb
stellar-base-0.0.9 generated/stellar/ledger_entry.rb
stellar-base-0.0.8 generated/stellar/ledger_entry.rb