Sha256: 2a5ef1db652e209ba7156fbce4ec8f531a75abc4f955d231ff5e996112971d1b

Contents?: true

Size: 1 KB

Versions: 7

Compression:

Stored size: 1 KB

Contents

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

require 'xdr'

# === xdr source ============================================================
#
#   enum RevokeSponsorshipResultCode
#   {
#       // codes considered as "success" for the operation
#       REVOKE_SPONSORSHIP_SUCCESS = 0,
#   
#       // codes considered as "failure" for the operation
#       REVOKE_SPONSORSHIP_DOES_NOT_EXIST = -1,
#       REVOKE_SPONSORSHIP_NOT_SPONSOR = -2,
#       REVOKE_SPONSORSHIP_LOW_RESERVE = -3,
#       REVOKE_SPONSORSHIP_ONLY_TRANSFERABLE = -4
#   };
#
# ===========================================================================
module Stellar
  class RevokeSponsorshipResultCode < XDR::Enum
    member :revoke_sponsorship_success,           0
    member :revoke_sponsorship_does_not_exist,    -1
    member :revoke_sponsorship_not_sponsor,       -2
    member :revoke_sponsorship_low_reserve,       -3
    member :revoke_sponsorship_only_transferable, -4

    seal
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
stellar-base-0.29.0 generated/stellar/revoke_sponsorship_result_code.rb
stellar-base-0.28.0 generated/stellar/revoke_sponsorship_result_code.rb
stellar-base-0.27.0 generated/stellar/revoke_sponsorship_result_code.rb
stellar-base-0.26.0 generated/stellar/revoke_sponsorship_result_code.rb
stellar-base-0.25.0 generated/stellar/revoke_sponsorship_result_code.rb
stellar-base-0.24.0 generated/stellar/revoke_sponsorship_result_code.rb
stellar-base-0.24.0.pre.1 generated/stellar/revoke_sponsorship_result_code.rb