class Greeve::Corporation::WalletJournal
Corporation
wallet journal.
Public Class Methods
new(opts = {})
click to toggle source
@option opts [Integer] :account_key account key of the wallet for which
journal entries will be returned (1000 - 1006)
@option opts [Integer] :from_id upper bound for the ref_id of returned
journal entries. Normally used to walk the journal backwards
@option opts [Integer] :row_count limit on the number of rows to return.
Default is 1000, max is 2560
Calls superclass method
Greeve::BaseItem::new
# File lib/greeve/corporation/wallet_journal.rb, line 34 def initialize(opts = {}) account_key = opts[:account_key] from_id = opts[:from_id] row_count = opts[:row_count] opts[:query_params] = {} opts[:query_params]["accountKey"] = account_key if account_key opts[:query_params]["fromID"] = from_id if from_id opts[:query_params]["rowCount"] = row_count if row_count super(opts) end