Sha256: d71a01746ff247408333aeda61a5307ddd0ff499fdef679e21d7160eb4cb6588
Contents?: true
Size: 869 Bytes
Versions: 16
Compression:
Stored size: 869 Bytes
Contents
# frozen_string_literal: true module EveOnline module ESI class CharacterWalletJournal < Base API_PATH = "/v6/characters/%<character_id>s/wallet/journal/" attr_reader :character_id, :page def initialize(options) super @character_id = options.fetch(:character_id) @page = options.fetch(:page, 1) end def wallet_journal_entries @wallet_journal_entries ||= begin output = [] response.each do |wallet_journal| output << Models::WalletJournal.new(wallet_journal) end output end end def scope "esi-wallet.read_character_wallet.v1" end def additional_query_params [:page] end def path format(API_PATH, character_id: character_id) end end end end
Version data entries
16 entries across 16 versions & 1 rubygems