Sha256: b710dd66f03b52180a12db0094684e612121191f6b331a8372f215fbd9602f48
Contents?: true
Size: 849 Bytes
Versions: 2
Compression:
Stored size: 849 Bytes
Contents
# This code was automatically generated using xdrgen # 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
stellar-base-0.0.20 | generated/stellar/currency.rb |
stellar-base-0.0.19 | generated/stellar/currency.rb |