Sha256: 320fdb8f89c456f18e435763917e90b5ccaebcbeb89769e4a01432f31f4d979a

Contents?: true

Size: 706 Bytes

Versions: 2

Compression:

Stored size: 706 Bytes

Contents

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

require 'xdr'

# === xdr source ============================================================
#
#   union OperationID switch (EnvelopeType type)
#   {
#   case ENVELOPE_TYPE_OP_ID:
#       struct
#       {
#           AccountID sourceAccount;
#           SequenceNumber seqNum;
#           uint32 opNum;
#       } id;
#   };
#
# ===========================================================================
module Stellar
  class OperationID < XDR::Union
    include XDR::Namespace

    autoload :Id

    switch_on EnvelopeType, :type

    switch :envelope_type_op_id, :id

    attribute :id, Id
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
stellar-base-0.29.0 generated/stellar/operation_id.rb
stellar-base-0.28.0 generated/stellar/operation_id.rb