Sha256: 132a9afaf0fee9a8ec4ece4ec56fe9d890e3de9863a334071953c4880d89da30

Contents?: true

Size: 504 Bytes

Versions: 4

Compression:

Stored size: 504 Bytes

Contents

# frozen_string_literal: true

module EveOnline
  module ESI
    class UniverseGroups < Base
      API_ENDPOINT = 'https://esi.evetech.net/v1/universe/groups/?datasource=%<datasource>s&page=%<page>s'

      attr_reader :page

      def initialize(options = {})
        super

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

      def group_ids
        response
      end

      def scope; end

      def url
        format(API_ENDPOINT, datasource: datasource, page: page)
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
eve_online-0.23.0 lib/eve_online/esi/universe_groups.rb
eve_online-0.22.0 lib/eve_online/esi/universe_groups.rb
eve_online-0.21.0 lib/eve_online/esi/universe_groups.rb
eve_online-0.20.0 lib/eve_online/esi/universe_groups.rb