Sha256: 022e5b68e3ada9bc8719b0ae0e3781298e026d623d8a83b4ce2f6080ba5a6a92
Contents?: true
Size: 994 Bytes
Versions: 11
Compression:
Stored size: 994 Bytes
Contents
# Automatically generated on 2015-05-13T15:00:04-07:00 # DO NOT EDIT or your changes may be overwritten require 'xdr' # === xdr source ============================================================ # # union Memo switch (MemoType type) # { # case MEMO_NONE: # void; # case MEMO_TEXT: # string text<28>; # case MEMO_ID: # uint64 id; # case MEMO_HASH: # Hash hash; // the hash of what to pull from the content server # case MEMO_RETURN: # Hash retHash; // the hash of the tx you are rejecting # }; # # =========================================================================== module Stellar class Memo < XDR::Union switch_on MemoType, :type switch :memo_none switch :memo_text, :text switch :memo_id, :id switch :memo_hash, :hash switch :memo_return, :ret_hash attribute :text, XDR::String[28] attribute :id, Uint64 attribute :hash, Hash attribute :ret_hash, Hash end end
Version data entries
11 entries across 11 versions & 1 rubygems