Sha256: 4ec35b89b9716dfa02a71bc1036921390e87ee4ad7f00ffb294013087f0a9bb9

Contents?: true

Size: 441 Bytes

Versions: 2

Compression:

Stored size: 441 Bytes

Contents

module EveOnline
  module ESI
    class Factions < Base
      API_ENDPOINT = 'https://esi.tech.ccp.is/v2/universe/factions/?datasource=tranquility&language=en-us'.freeze

      def factions
        output = []
        response.each do |faction|
          output << Models::Faction.new(faction)
        end
        output
      end
      memoize :factions

      def scope; end

      def url
        API_ENDPOINT
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
eve_online-0.14.0 lib/eve_online/esi/factions.rb
eve_online-0.13.0 lib/eve_online/esi/factions.rb