Sha256: ea7176d2cb31bd5e8c9e6308387f2f0949f02adc73305ea0e6250a331dd2c112

Contents?: true

Size: 770 Bytes

Versions: 6

Compression:

Stored size: 770 Bytes

Contents

# Automatically generated on 2015-06-08T11:39:15-07:00
# 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

6 entries across 6 versions & 1 rubygems

Version Path
stellar-base-0.0.18 generated/stellar/manage_offer_success_result/offer.rb
stellar-base-0.0.17 generated/stellar/manage_offer_success_result/offer.rb
stellar-base-0.0.16 generated/stellar/manage_offer_success_result/offer.rb
stellar-base-0.0.15 generated/stellar/manage_offer_success_result/offer.rb
stellar-base-0.0.14 generated/stellar/manage_offer_success_result/offer.rb
stellar-base-0.0.13 generated/stellar/manage_offer_success_result/offer.rb