generated/stellar/payment_op.rb in stellar-base-0.0.7 vs generated/stellar/payment_op.rb in stellar-base-0.0.8

- old
+ new

@@ -1,6 +1,6 @@ -# Automatically generated on 2015-05-12T13:13:19-07:00 +# Automatically generated on 2015-05-13T15:00:04-07:00 # DO NOT EDIT or your changes may be overwritten require 'xdr' # === xdr source ============================================================ @@ -8,23 +8,15 @@ # struct PaymentOp # { # AccountID destination; // recipient of the payment # Currency currency; // what they end up with # int64 amount; // amount they end up with -# -# // payment over path -# Currency path<5>; // what hops it must go through to get there -# int64 sendMax; // the maximum amount of the source currency (==path[0]) to -# // send (excluding fees). -# // The operation will fail if can't be met # }; # # =========================================================================== module Stellar class PaymentOp < XDR::Struct attribute :destination, AccountID attribute :currency, Currency attribute :amount, Int64 - attribute :path, XDR::VarArray[Currency, 5] - attribute :send_max, Int64 end end