Sha256: 4dfd12717fb9c6ed0b2ff2af51544cf19c6a7fa02e801218fb08b34cd2b64fe0

Contents?: true

Size: 226 Bytes

Versions: 2

Compression:

Stored size: 226 Bytes

Contents

module Stellar
  ChangeTrustOp.class_eval do

    def to_operation(source_account=nil)
      body = Operation::Body.new(:change_trust, self)
      Operation.new(source_account: source_account, body:body)
    end
    
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
stellar-base-0.0.2 lib/stellar/change_trust_op.rb
stellar-base-0.0.1 lib/stellar/change_trust_op.rb