Sha256: 9e745de976b1b053f85c0d29b28ab8d54df42587c3978236b7728720a38683a6

Contents?: true

Size: 454 Bytes

Versions: 2

Compression:

Stored size: 454 Bytes

Contents

# frozen_string_literal: true

module EveOnline
  module ESI
    class Wars < Base
      API_PATH = '/v1/wars/'

      attr_reader :max_war_id

      def initialize(options = {})
        super

        @max_war_id = options.fetch(:max_war_id, nil)
      end

      def war_ids
        response
      end

      def scope; end

      def additation_query_params
        [:max_war_id]
      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/wars.rb
eve_online-0.28.0 lib/eve_online/esi/wars.rb