Sha256: 7378775d27e38deff43169407d8c2fa193f19ea96f4f18d3dd71280707d47964

Contents?: true

Size: 529 Bytes

Versions: 2

Compression:

Stored size: 529 Bytes

Contents

# frozen_string_literal: true

module EveOnline
  module ESI
    class UniverseAncestries < Base
      API_PATH = '/v1/universe/ancestries/'

      def ancestries
        @ancestries ||=
          begin
            output = []
            response.each do |ancestry|
              output << Models::Ancestry.new(ancestry)
            end
            output
          end
      end

      def scope; end

      def additation_query_params
        [:language]
      end

      def path
        API_PATH
      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/universe_ancestries.rb
eve_online-0.28.0 lib/eve_online/esi/universe_ancestries.rb