Sha256: 092952a99150aa1b2965a854e94746231ce89a6c8574e44ae11fb40e6c6e81d6

Contents?: true

Size: 1.23 KB

Versions: 3

Compression:

Stored size: 1.23 KB

Contents

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

require 'xdr'

# === xdr source ============================================================
#
#   struct LedgerEntry
#   {
#       uint32 lastModifiedLedgerSeq; // ledger the LedgerEntry was last changed
#   
#       union switch (LedgerEntryType type)
#       {
#       case ACCOUNT:
#           AccountEntry account;
#       case TRUSTLINE:
#           TrustLineEntry trustLine;
#       case OFFER:
#           OfferEntry offer;
#       case LOT:
#           LotEntry lot;
#       case PARTICIPANT:
#           ParticipantEntry participant;
#       case MESSAGE:
#           MessageEntry message;
#       case PROOF:
#           ProofEntry proof;
#       }
#       data;
#   
#       // reserved for future use
#       union switch (int v)
#       {
#       case 0:
#           void;
#       }
#       ext;
#   };
#
# ===========================================================================
module Stellar
  class LedgerEntry < XDR::Struct
    include XDR::Namespace

    autoload :Data
    autoload :Ext

    attribute :last_modified_ledger_seq, Uint32
    attribute :data,                     Data
    attribute :ext,                      Ext
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
auction-ruby-base-0.1.3 generated/stellar/ledger_entry.rb
auction-ruby-base-0.1.2 generated/stellar/ledger_entry.rb
auction-ruby-base-0.1.1 generated/stellar/ledger_entry.rb