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.17.0 generated/stellar/manage_offer_success_result/offer.rb
stellar-base-0.16.0 generated/stellar/manage_offer_success_result/offer.rb
stellar-base-0.15.0 generated/stellar/manage_offer_success_result/offer.rb
stellar-base-0.14.0 generated/stellar/manage_offer_success_result/offer.rb
stellar-base-0.13.0 generated/stellar/manage_offer_success_result/offer.rb
stellar-base-0.12.0 generated/stellar/manage_offer_success_result/offer.rb
stellar-base-0.11.0 generated/stellar/manage_offer_success_result/offer.rb
auction-ruby-base-0.1.3 generated/stellar/manage_offer_success_result/offer.rb
auction-ruby-base-0.1.2 generated/stellar/manage_offer_success_result/offer.rb
auction-ruby-base-0.1.1 generated/stellar/manage_offer_success_result/offer.rb
stellar-base-0.10.0 generated/stellar/manage_offer_success_result/offer.rb
stellar-base-0.9.0 generated/stellar/manage_offer_success_result/offer.rb
stellar-base-0.8.0 generated/stellar/manage_offer_success_result/offer.rb
stellar-base-0.7.0 generated/stellar/manage_offer_success_result/offer.rb
stellar-base-0.6.1 generated/stellar/manage_offer_success_result/offer.rb
stellar-base-0.6.0 generated/stellar/manage_offer_success_result/offer.rb
stellar-base-0.5.0 generated/stellar/manage_offer_success_result/offer.rb
stellar-base-0.4.0 generated/stellar/manage_offer_success_result/offer.rb
open-core-0.3.0 generated/stellar/manage_offer_success_result/offer.rb
stellar-base-0.3.0 generated/stellar/manage_offer_success_result/offer.rb