Sha256: db48d07e951f1db42763e47711536485b45d69a466897a86a15a6d36cb4e4650

Contents?: true

Size: 1010 Bytes

Versions: 32

Compression:

Stored size: 1010 Bytes

Contents

# This code was automatically generated using xdrgen
# DO NOT EDIT or your changes may be overwritten

require 'xdr'

# === xdr source ============================================================
#
#   union LedgerEntryChange switch (LedgerEntryChangeType type)
#   {
#   case LEDGER_ENTRY_CREATED:
#       LedgerEntry created;
#   case LEDGER_ENTRY_UPDATED:
#       LedgerEntry updated;
#   case LEDGER_ENTRY_REMOVED:
#       LedgerKey removed;
#   case LEDGER_ENTRY_STATE:
#       LedgerEntry state;
#   };
#
# ===========================================================================
module Stellar
  class LedgerEntryChange < XDR::Union
    switch_on LedgerEntryChangeType, :type

    switch :ledger_entry_created, :created
    switch :ledger_entry_updated, :updated
    switch :ledger_entry_removed, :removed
    switch :ledger_entry_state,   :state

    attribute :created, LedgerEntry
    attribute :updated, LedgerEntry
    attribute :removed, LedgerKey
    attribute :state,   LedgerEntry
  end
end

Version data entries

32 entries across 32 versions & 2 rubygems

Version Path
stellar-base-0.17.0 generated/stellar/ledger_entry_change.rb
stellar-base-0.16.0 generated/stellar/ledger_entry_change.rb
stellar-base-0.15.0 generated/stellar/ledger_entry_change.rb
stellar-base-0.14.0 generated/stellar/ledger_entry_change.rb
stellar-base-0.13.0 generated/stellar/ledger_entry_change.rb
stellar-base-0.12.0 generated/stellar/ledger_entry_change.rb
stellar-base-0.11.0 generated/stellar/ledger_entry_change.rb
auction-ruby-base-0.1.3 generated/stellar/ledger_entry_change.rb
auction-ruby-base-0.1.2 generated/stellar/ledger_entry_change.rb
auction-ruby-base-0.1.1 generated/stellar/ledger_entry_change.rb
stellar-base-0.10.0 generated/stellar/ledger_entry_change.rb
stellar-base-0.9.0 generated/stellar/ledger_entry_change.rb