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
stellar-base-0.19.0 generated/stellar/bucket_entry.rb
stellar-base-0.18.0 generated/stellar/bucket_entry.rb
stellar-base-0.17.0 generated/stellar/bucket_entry.rb
stellar-base-0.16.0 generated/stellar/bucket_entry.rb
stellar-base-0.15.0 generated/stellar/bucket_entry.rb
stellar-base-0.14.0 generated/stellar/bucket_entry.rb
stellar-base-0.13.0 generated/stellar/bucket_entry.rb
stellar-base-0.12.0 generated/stellar/bucket_entry.rb
stellar-base-0.11.0 generated/stellar/bucket_entry.rb
auction-ruby-base-0.1.3 generated/stellar/bucket_entry.rb
auction-ruby-base-0.1.2 generated/stellar/bucket_entry.rb
auction-ruby-base-0.1.1 generated/stellar/bucket_entry.rb
stellar-base-0.10.0 generated/stellar/bucket_entry.rb
stellar-base-0.9.0 generated/stellar/bucket_entry.rb
stellar-base-0.8.0 generated/stellar/bucket_entry.rb
stellar-base-0.7.0 generated/stellar/bucket_entry.rb
stellar-base-0.6.1 generated/stellar/bucket_entry.rb
stellar-base-0.6.0 generated/stellar/bucket_entry.rb
stellar-base-0.5.0 generated/stellar/bucket_entry.rb
stellar-base-0.4.0 generated/stellar/bucket_entry.rb