class XRBP::WebSocket::Cmds::AccountTx
The account_tx method retrieves a list of transactions that involved the specified account.
Attributes
account[RW]
args[RW]
Public Class Methods
new(account, args={})
click to toggle source
Calls superclass method
# File lib/xrbp/websocket/cmds/account_tx.rb, line 11 def initialize(account, args={}) @account = account @args = args super(to_h) end
Public Instance Methods
to_h()
click to toggle source
# File lib/xrbp/websocket/cmds/account_tx.rb, line 17 def to_h args.merge(:command => :account_tx, :account => account) end