class Greeve::Character::WalletJournal
Character
wallet journal.
Public Class Methods
new(character_id, opts = {})
click to toggle source
@param character_id [Integer] EVE character ID
@option opts [Integer] :from_id Optional upper bound for the ref ID of
returned journal entries. This argument is normally used to walk to the journal backwards.
@option opts [Integer] :row_count Optional limit on number of rows to
return. Default is 1000. Maximum is 2560.
Calls superclass method
Greeve::BaseItem::new
# File lib/greeve/character/wallet_journal.rb, line 37 def initialize(character_id, opts = {}) from_id = opts.delete(:from_id) row_count = opts.delete(:row_count) opts[:query_params] = { "characterID" => character_id } opts[:query_params]["fromID"] = from_id if from_id opts[:query_params]["rowCount"] = row_count if row_count super(opts) end