Sha256: dd747c9f9f541ba3c38f40743b31b91d5638028e745e7eef181ad9a98188dab8

Contents?: true

Size: 457 Bytes

Versions: 2

Compression:

Stored size: 457 Bytes

Contents

# frozen_string_literal: true

module EveOnline
  module ESI
    class UniverseTypes < Base
      API_PATH = '/v1/universe/types/'

      attr_reader :page

      def initialize(options = {})
        super

        @page = options.fetch(:page, 1)
      end

      def universe_type_ids
        response
      end

      def scope; end

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