class XRBP::WebSocket::Cmds::AccountObjects
The account_objects command returns the raw ledger format for all objects owned by an account
Attributes
account[RW]
args[RW]
Public Class Methods
from_h(h)
click to toggle source
# File lib/xrbp/websocket/cmds/account_objects.rb, line 24 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_objects.rb, line 17 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_objects.rb, line 11 def page_title "account_objects" end
to_h()
click to toggle source
# File lib/xrbp/websocket/cmds/account_objects.rb, line 30 def to_h args_without_paginate.merge(:command => :account_objects, :account => account) end