Sha256: 43862f2ee240ece4a075c6c2ebb18b2549d1afd0da5b222bd464d05b8710bd7b

Contents?: true

Size: 430 Bytes

Versions: 4

Compression:

Stored size: 430 Bytes

Contents

# frozen_string_literal: true

module EveOnline
  module ESI
    class Wars < Base
      API_PATH = '/v1/wars/?datasource=%<datasource>s'

      # TODO: add max_war_id
      # def initialize(max_war_id)
      #   @max_war_id = max_war_id
      # end

      def war_ids
        response
      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

Version Path
eve_online-0.27.0 lib/eve_online/esi/wars.rb
eve_online-0.26.0 lib/eve_online/esi/wars.rb
eve_online-0.25.0 lib/eve_online/esi/wars.rb
eve_online-0.24.0 lib/eve_online/esi/wars.rb