Sha256: 2dd171abdcd30f062538eba64d3a8ed8ea1268c86460c216415af29757fa3e28
Contents?: true
Size: 859 Bytes
Versions: 11
Compression:
Stored size: 859 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 Currency switch (CurrencyType type) # { # case CURRENCY_TYPE_NATIVE: # void; # # case CURRENCY_TYPE_ALPHANUM: # struct # { # opaque currencyCode[4]; # AccountID issuer; # } alphaNum; # # // add other currency types here in the future # }; # # =========================================================================== module Stellar class Currency < XDR::Union include XDR::Namespace autoload :AlphaNum switch_on CurrencyType, :type switch :currency_type_native switch :currency_type_alphanum, :alpha_num attribute :alpha_num, AlphaNum end end
Version data entries
11 entries across 11 versions & 1 rubygems