Sha256: 58c9fd760d3a514cdd926d6bc16c55e0d99c38cc05209a0b310f030adc433839

Contents?: true

Size: 556 Bytes

Versions: 4

Compression:

Stored size: 556 Bytes

Contents

# frozen_string_literal: true

module EveOnline
  module ESI
    class UniverseSystemKills < Base
      API_PATH = '/v2/universe/system_kills/?datasource=%<datasource>s'

      def system_kills
        @system_kills ||=
          begin
            output = []
            response.each do |system_kill|
              output << Models::SystemKill.new(system_kill)
            end
            output
          end
      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/universe_system_kills.rb
eve_online-0.26.0 lib/eve_online/esi/universe_system_kills.rb
eve_online-0.25.0 lib/eve_online/esi/universe_system_kills.rb
eve_online-0.24.0 lib/eve_online/esi/universe_system_kills.rb