Sha256: bbacbf18e21de085a2eaf493d1afedd6c3d90c21bee6780c51126cbd251f008b
Contents?: true
Size: 984 Bytes
Versions: 48
Compression:
Stored size: 984 Bytes
Contents
# This code was automatically generated using xdrgen # 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
48 entries across 48 versions & 3 rubygems