Sha256: e9da42353972a62494feda37b634d45d00c9d11e00b7d59c48934f0fb883e55a

Contents?: true

Size: 518 Bytes

Versions: 2

Compression:

Stored size: 518 Bytes

Contents

# frozen_string_literal: true

module EveOnline
  module ESI
    class UniverseFactions < Base
      API_PATH = '/v2/universe/factions/'

      def factions
        @factions ||=
          begin
            output = []
            response.each do |faction|
              output << Models::Faction.new(faction)
            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_factions.rb
eve_online-0.28.0 lib/eve_online/esi/universe_factions.rb