I am getting this error while asking for transfers:
2.4.1 :008 > RPC::Wallet.get_all_incoming_transfers
NoMethodError: undefined method `confirmations=' for #<RPC::IncomingTransfer:0x007fdc8903b5e8>
Did you mean? confirmations
from /Users//.rvm/gems/ruby-2.4.1/gems/monero-0.0.0.8/lib/rpc/incoming_transfer.rb:8:in `block in initialize'
from /Users//.rvm/gems/ruby-2.4.1/gems/monero-0.0.0.8/lib/rpc/incoming_transfer.rb:7:in `each'
from /Users//.rvm/gems/ruby-2.4.1/gems/monero-0.0.0.8/lib/rpc/incoming_transfer.rb:7:in `initialize'
from /Users//.rvm/gems/ruby-2.4.1/gems/monero-0.0.0.8/lib/rpc/wallet.rb:100:in `new'
from /Users//.rvm/gems/ruby-2.4.1/gems/monero-0.0.0.8/lib/rpc/wallet.rb:100:in `block (2 levels) in get_transfers'
But if I add this class manually and specify it in RPC.config.transfer_clazz, it works:
I am getting this error while asking for transfers:
But if I add this class manually and specify it in RPC.config.transfer_clazz, it works: