class XRBP::WebSocket::Cmds::AccountLines
The account_lines method returns information about an account's trust lines, including balances in all non-XRP currencies and assets
Attributes
account[RW]
args[RW]
Public Class Methods
from_h(h)
click to toggle source
# File lib/xrbp/websocket/cmds/account_lines.rb, line 25 def self.from_h(h) _h = Hash[h] a = _h.delete(:account) new a, _h end
new(account, args={})
click to toggle source
Calls superclass method
# File lib/xrbp/websocket/cmds/account_lines.rb, line 18 def initialize(account, args={}) @account = account @args = args parse_paginate(args) super(to_h) end
Public Instance Methods
page_title()
click to toggle source
# File lib/xrbp/websocket/cmds/account_lines.rb, line 12 def page_title "account_lines" end
to_h()
click to toggle source
# File lib/xrbp/websocket/cmds/account_lines.rb, line 31 def to_h args_without_paginate.merge(:command => :account_lines, :account => account) end