Sha256: 0918530c0a0d4faa4ffc328c7b452bc0bbe1816fd6b003d152da4d6ae11136cd

Contents?: true

Size: 1.03 KB

Versions: 14

Compression:

Stored size: 1.03 KB

Contents

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

require 'xdr'

# === xdr source ============================================================
#
#   union PathPaymentStrictSendResult switch (PathPaymentStrictSendResultCode code)
#   {
#   case PATH_PAYMENT_STRICT_SEND_SUCCESS:
#       struct
#       {
#           ClaimOfferAtom offers<>;
#           SimplePaymentResult last;
#       } success;
#   case PATH_PAYMENT_STRICT_SEND_NO_ISSUER:
#       Asset noIssuer; // the asset that caused the error
#   default:
#       void;
#   };
#
# ===========================================================================
module Stellar
  class PathPaymentStrictSendResult < XDR::Union
    include XDR::Namespace

    autoload :Success

    switch_on PathPaymentStrictSendResultCode, :code

    switch :path_payment_strict_send_success,   :success
    switch :path_payment_strict_send_no_issuer, :no_issuer
    switch :default

    attribute :success,   Success
    attribute :no_issuer, Asset
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
stellar-base-0.29.0 generated/stellar/path_payment_strict_send_result.rb
stellar-base-0.28.0 generated/stellar/path_payment_strict_send_result.rb
stellar-base-0.27.0 generated/stellar/path_payment_strict_send_result.rb
stellar-base-0.26.0 generated/stellar/path_payment_strict_send_result.rb
stellar-base-0.25.0 generated/stellar/path_payment_strict_send_result.rb
stellar-base-0.24.0 generated/stellar/path_payment_strict_send_result.rb
stellar-base-0.24.0.pre.1 generated/stellar/path_payment_strict_send_result.rb
stellar-base-0.23.1 generated/stellar/path_payment_strict_send_result.rb
stellar-base-0.23.0 generated/stellar/path_payment_strict_send_result.rb
stellar-base-0.23.0.rc2 generated/stellar/path_payment_strict_send_result.rb
stellar-base-0.23.0.rc1 generated/stellar/path_payment_strict_send_result.rb
stellar-base-0.23.0.pre1 generated/stellar/path_payment_strict_send_result.rb
stellar-base-0.22.0 generated/stellar/path_payment_strict_send_result.rb
stellar-base-0.21.0 generated/stellar/path_payment_strict_send_result.rb