class Greeve::Character::WalletTransactions
Character
wallet transactions.
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 transaction
ID of returned transactions.
@option opts [Integer] :row_count Optional upper bound for the
transaction ID of returned transactions. This argument is normally used to walk to the transaction log backwards.
Calls superclass method
Greeve::BaseItem::new
# File lib/greeve/character/wallet_transactions.rb, line 35 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