Sha256: 7f21ce8651661386d8906f8b5d8f5a462f16a9cdc9ccf47b65c678add2f7e723

Contents?: true

Size: 768 Bytes

Versions: 2

Compression:

Stored size: 768 Bytes

Contents

# Automatically generated on 2015-04-26T19:13:29-07:00
# DO NOT EDIT or your changes may be overwritten
        
require 'xdr'

# === xdr source ============================================================
#
#   enum OperationType
#   {
#       PAYMENT = 0,
#       CREATE_OFFER = 1,
#       SET_OPTIONS = 2,
#       CHANGE_TRUST = 3,
#       ALLOW_TRUST = 4,
#       ACCOUNT_MERGE = 5,
#       INFLATION = 6
#   };
#
# ===========================================================================
module Stellar
  class OperationType < XDR::Enum
    member :payment,       0
    member :create_offer,  1
    member :set_options,   2
    member :change_trust,  3
    member :allow_trust,   4
    member :account_merge, 5
    member :inflation,     6

    seal
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
stellar-base-0.0.3 generated/stellar/operation_type.rb
stellar-base-0.0.2 generated/stellar/operation_type.rb