Sha256: 687c9f6b2cb160bc97e15fc12875898ba2721ebc937982c79a19cd6c5e08b06b
Contents?: true
Size: 226 Bytes
Versions: 1
Compression:
Stored size: 226 Bytes
Contents
module Stellar CreateOfferOp.class_eval do def to_operation(source_account=nil) body = Operation::Body.new(:create_offer, self) Operation.new(source_account: source_account, body:body) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
stellar-base-0.0.2 | lib/stellar/create_offer_op.rb |