Sha256: 890715c816d6e69acd08e50685376a327c85c49d76afd076e46a27c77191242f
Contents?: true
Size: 541 Bytes
Versions: 4
Compression:
Stored size: 541 Bytes
Contents
# frozen_string_literal: true module EveOnline module ESI class UniverseAncestries < Base API_PATH = '/v1/universe/ancestries/?datasource=%<datasource>s' def ancestries @ancestries ||= begin output = [] response.each do |ancestry| output << Models::Ancestry.new(ancestry) end output end end def scope; end def url format("#{ API_HOST }#{ API_PATH }", datasource: datasource) end end end end
Version data entries
4 entries across 4 versions & 1 rubygems