Sha256: db42616e123e5bc6677c423f8452d18bb921df6b0d4731617b599f87d81f0990

Contents?: true

Size: 760 Bytes

Versions: 48

Compression:

Stored size: 760 Bytes

Contents

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

require 'xdr'

# === xdr source ============================================================
#
#   union switch (ManageOfferEffect effect)
#       {
#       case MANAGE_OFFER_CREATED:
#       case MANAGE_OFFER_UPDATED:
#           OfferEntry offer;
#       default:
#           void;
#       }
#
# ===========================================================================
module Stellar
  class ManageOfferSuccessResult
    class Offer < XDR::Union
      switch_on ManageOfferEffect, :effect

      switch :manage_offer_created, :offer
      switch :manage_offer_updated, :offer
      switch :default

      attribute :offer, OfferEntry
    end
  end
end

Version data entries

48 entries across 48 versions & 3 rubygems

Version Path
stellar-base-0.2.0 generated/stellar/manage_offer_success_result/offer.rb
stellar-base-0.1.4 generated/stellar/manage_offer_success_result/offer.rb
stellar-base-0.1.3 generated/stellar/manage_offer_success_result/offer.rb
stellar-base-0.1.2 generated/stellar/manage_offer_success_result/offer.rb
stellar-base-0.1.1 generated/stellar/manage_offer_success_result/offer.rb
stellar-base-0.1.0 generated/stellar/manage_offer_success_result/offer.rb
stellar-base-0.0.20 generated/stellar/manage_offer_success_result/offer.rb
stellar-base-0.0.19 generated/stellar/manage_offer_success_result/offer.rb