Sha256: bb76667adea5ac6d482ef995164baea41a62d07ca7b3d6766db15730ff877bf5

Contents?: true

Size: 877 Bytes

Versions: 16

Compression:

Stored size: 877 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;
#   };
#
# ===========================================================================
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

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

Version data entries

16 entries across 16 versions & 2 rubygems

Version Path
stellar-base-0.8.0 generated/stellar/ledger_entry_change.rb
stellar-base-0.7.0 generated/stellar/ledger_entry_change.rb
stellar-base-0.6.1 generated/stellar/ledger_entry_change.rb
stellar-base-0.6.0 generated/stellar/ledger_entry_change.rb
stellar-base-0.5.0 generated/stellar/ledger_entry_change.rb
stellar-base-0.4.0 generated/stellar/ledger_entry_change.rb
open-core-0.3.0 generated/stellar/ledger_entry_change.rb
stellar-base-0.3.0 generated/stellar/ledger_entry_change.rb
stellar-base-0.2.0 generated/stellar/ledger_entry_change.rb
stellar-base-0.1.4 generated/stellar/ledger_entry_change.rb
stellar-base-0.1.3 generated/stellar/ledger_entry_change.rb
stellar-base-0.1.2 generated/stellar/ledger_entry_change.rb
stellar-base-0.1.1 generated/stellar/ledger_entry_change.rb
stellar-base-0.1.0 generated/stellar/ledger_entry_change.rb
stellar-base-0.0.20 generated/stellar/ledger_entry_change.rb
stellar-base-0.0.19 generated/stellar/ledger_entry_change.rb