class EveOnline::ESI::CharacterWalletTransactions

Constants

API_PATH

Attributes

character_id[R]
from_id[R]

Public Class Methods

new(options) click to toggle source
Calls superclass method EveOnline::ESI::Base::new
# File lib/eve_online/esi/character_wallet_transactions.rb, line 10
def initialize(options)
  super

  @character_id = options.fetch(:character_id)
  @from_id = options.fetch(:from_id, nil)
end

Public Instance Methods

additional_query_params() click to toggle source
# File lib/eve_online/esi/character_wallet_transactions.rb, line 32
def additional_query_params
  [:from_id]
end
path() click to toggle source
# File lib/eve_online/esi/character_wallet_transactions.rb, line 36
def path
  format(API_PATH, character_id: character_id)
end
scope() click to toggle source
# File lib/eve_online/esi/character_wallet_transactions.rb, line 28
def scope
  "esi-wallet.read_character_wallet.v1"
end
wallet_transactions() click to toggle source
# File lib/eve_online/esi/character_wallet_transactions.rb, line 17
def wallet_transactions
  @wallet_transactions ||=
    begin
      output = []
      response.each do |wallet_transaction|
        output << Models::WalletTransaction.new(wallet_transaction)
      end
      output
    end
end