Sha256: 9bbc4a6af301dbc6e7f9cd97512e1f004cee21daeb6a053307b297e864b3acac

Contents?: true

Size: 691 Bytes

Versions: 30

Compression:

Stored size: 691 Bytes

Contents

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

require 'xdr'

# === xdr source ============================================================
#
#   union BucketEntry switch (BucketEntryType type)
#   {
#   case LIVEENTRY:
#       LedgerEntry liveEntry;
#   
#   case DEADENTRY:
#       LedgerKey deadEntry;
#   };
#
# ===========================================================================
module Stellar
  class BucketEntry < XDR::Union
    switch_on BucketEntryType, :type

    switch :liveentry, :live_entry
    switch :deadentry, :dead_entry

    attribute :live_entry, LedgerEntry
    attribute :dead_entry, LedgerKey
  end
end

Version data entries

30 entries across 30 versions & 3 rubygems

Version Path
open-core-0.3.0 generated/stellar/bucket_entry.rb
stellar-base-0.3.0 generated/stellar/bucket_entry.rb
stellar-base-0.2.0 generated/stellar/bucket_entry.rb
stellar-base-0.1.4 generated/stellar/bucket_entry.rb
stellar-base-0.1.3 generated/stellar/bucket_entry.rb
stellar-base-0.1.2 generated/stellar/bucket_entry.rb
stellar-base-0.1.1 generated/stellar/bucket_entry.rb
stellar-base-0.1.0 generated/stellar/bucket_entry.rb
stellar-base-0.0.20 generated/stellar/bucket_entry.rb
stellar-base-0.0.19 generated/stellar/bucket_entry.rb