44uk/nis-ruby

View on GitHub
lib/nis/struct/multisig_transaction.rb

Summary

Maintainability
A
0 mins
Test Coverage
class Nis::Struct
  # @attr [String] other_hash
  # @attr [String] other_account
  class MultisigTransaction < Transaction
    attr_accessor :otherTrans

    alias :other_trans :otherTrans
    alias :other_trans= :otherTrans=

    def self.build(attrs)
      attrs[:otherTrans] = Nis::Struct::TransactionMetaDataPair.build_transaction_struct(attrs[:otherTrans])
      new(attrs)
    end
  end
end