Sha256: 203eb0e7db13619f73adfc28df54b35ed420bbf5681749eaf2aa909f8539f071

Contents?: true

Size: 915 Bytes

Versions: 6

Compression:

Stored size: 915 Bytes

Contents

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

require 'xdr'

# === xdr source ============================================================
#
#   union RevokeSponsorshipOp switch (RevokeSponsorshipType type)
#   {
#   case REVOKE_SPONSORSHIP_LEDGER_ENTRY:
#       LedgerKey ledgerKey;
#   case REVOKE_SPONSORSHIP_SIGNER:
#       struct
#       {
#           AccountID accountID;
#           SignerKey signerKey;
#       } signer;
#   };
#
# ===========================================================================
module Stellar
  class RevokeSponsorshipOp < XDR::Union
    include XDR::Namespace

    autoload :Signer

    switch_on RevokeSponsorshipType, :type

    switch :revoke_sponsorship_ledger_entry, :ledger_key
    switch :revoke_sponsorship_signer,       :signer

    attribute :ledger_key, LedgerKey
    attribute :signer,     Signer
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
stellar-base-0.32.0 generated/stellar/revoke_sponsorship_op.rb
stellar-base-0.31.0 generated/stellar/revoke_sponsorship_op.rb
stellar-base-0.30.0 generated/stellar/revoke_sponsorship_op.rb
stellar-base-0.29.0 generated/stellar/revoke_sponsorship_op.rb
stellar-base-0.28.0 generated/stellar/revoke_sponsorship_op.rb
stellar-base-0.27.0 generated/stellar/revoke_sponsorship_op.rb