Sha256: 29df2f286b9962d83f36892259d3594c25e38008eed3a7852db657e8c517bf4e
Contents?: true
Size: 500 Bytes
Versions: 1
Compression:
Stored size: 500 Bytes
Contents
# frozen_string_literal: true module EveOnline module ESI class Factions < Base API_ENDPOINT = 'https://esi.tech.ccp.is/v2/universe/factions/?datasource=%<datasource>s&language=en-us' def factions output = [] response.each do |faction| output << Models::Faction.new(faction) end output end memoize :factions def scope; end def url format(API_ENDPOINT, datasource: datasource) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
eve_online-0.17.0 | lib/eve_online/esi/factions.rb |