Sha256: 4efd8b29989b65ca06ff1dd91c0a14a10693ae50bc1eda52b8c614e830fbd052
Contents?: true
Size: 692 Bytes
Versions: 10
Compression:
Stored size: 692 Bytes
Contents
# frozen_string_literal: true module EveOnline module ESI class CharacterCorporationHistory < Base API_PATH = "/v1/characters/%<character_id>s/corporationhistory/" attr_reader :character_id def initialize(options) super @character_id = options.fetch(:character_id) end def entries @entries ||= begin output = [] response.each do |record| output << Models::CharacterCorporationHistory.new(record) end output end end def scope end def path format(API_PATH, character_id: character_id) end end end end
Version data entries
10 entries across 10 versions & 1 rubygems