Sha256: 612f4f3006aa385a28f98e2d2d53adfa15147c4fa499a26c8635981d7adbf8fc

Contents?: true

Size: 497 Bytes

Versions: 2

Compression:

Stored size: 497 Bytes

Contents

# frozen_string_literal: true

module EveOnline
  module ESI
    class UniverseRaces < Base
      API_PATH = '/v1/universe/races/'

      def races
        @races ||=
          begin
            output = []
            response.each do |race|
              output << Models::Race.new(race)
            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_races.rb
eve_online-0.28.0 lib/eve_online/esi/universe_races.rb