Sha256: 692a3aa78f23703f60f368d322bf66ce2fe03d71111b75cfd012a0c932a6f850

Contents?: true

Size: 1019 Bytes

Versions: 3

Compression:

Stored size: 1019 Bytes

Contents

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

require 'xdr'

# === xdr source ============================================================
#
#   enum SetTrustLineFlagsResultCode
#   {
#       // codes considered as "success" for the operation
#       SET_TRUST_LINE_FLAGS_SUCCESS = 0,
#   
#       // codes considered as "failure" for the operation
#       SET_TRUST_LINE_FLAGS_MALFORMED = -1,
#       SET_TRUST_LINE_FLAGS_NO_TRUST_LINE = -2,
#       SET_TRUST_LINE_FLAGS_CANT_REVOKE = -3,
#       SET_TRUST_LINE_FLAGS_INVALID_STATE = -4
#   };
#
# ===========================================================================
module Stellar
  class SetTrustLineFlagsResultCode < XDR::Enum
    member :set_trust_line_flags_success,       0
    member :set_trust_line_flags_malformed,     -1
    member :set_trust_line_flags_no_trust_line, -2
    member :set_trust_line_flags_cant_revoke,   -3
    member :set_trust_line_flags_invalid_state, -4

    seal
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
stellar-base-0.29.0 generated/stellar/set_trust_line_flags_result_code.rb
stellar-base-0.28.0 generated/stellar/set_trust_line_flags_result_code.rb
stellar-base-0.27.0 generated/stellar/set_trust_line_flags_result_code.rb