Sha256: af01b4af532b10e677df5c3e3f876c06fcc6abd504f5609fcd2d9116023d40db
Contents?: true
Size: 741 Bytes
Versions: 2
Compression:
Stored size: 741 Bytes
Contents
# frozen_string_literal: true module EveOnline module ESI class CorporationAllianceHistory < Base API_PATH = '/v2/corporations/%<corporation_id>s/alliancehistory/' attr_reader :corporation_id def initialize(options) super @corporation_id = options.fetch(:corporation_id) end def entries @entries ||= begin output = [] response.each do |record| output << Models::CorporationAllianceHistory.new(record) end output end end def scope; end def roles [] end def path format("#{ API_PATH }", corporation_id: corporation_id) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
eve_online-0.29.0 | lib/eve_online/esi/corporation_alliance_history.rb |
eve_online-0.28.0 | lib/eve_online/esi/corporation_alliance_history.rb |