Sha256: ec501478f6790a647fa559a7d4c5fe6cb0aed10c7896d9dee8d1c6ea69a50b00

Contents?: true

Size: 556 Bytes

Versions: 4

Compression:

Stored size: 556 Bytes

Contents

# frozen_string_literal: true

module EveOnline
  module ESI
    class UniverseSystemJumps < Base
      API_PATH = '/v1/universe/system_jumps/?datasource=%<datasource>s'

      def system_jumps
        @system_jumps ||=
          begin
            output = []
            response.each do |system_jump|
              output << Models::SystemJump.new(system_jump)
            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_jumps.rb
eve_online-0.26.0 lib/eve_online/esi/universe_system_jumps.rb
eve_online-0.25.0 lib/eve_online/esi/universe_system_jumps.rb
eve_online-0.24.0 lib/eve_online/esi/universe_system_jumps.rb