Sha256: 3935e56bf6fcc06caafd2daadec880685c299ed51178f84d03553060de8f30d8

Contents?: true

Size: 493 Bytes

Versions: 4

Compression:

Stored size: 493 Bytes

Contents

# frozen_string_literal: true

module EveOnline
  module ESI
    class UniverseGroups < Base
      API_PATH = '/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_HOST }#{ API_PATH }", datasource: datasource, page: page)
      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_groups.rb
eve_online-0.26.0 lib/eve_online/esi/universe_groups.rb
eve_online-0.25.0 lib/eve_online/esi/universe_groups.rb
eve_online-0.24.0 lib/eve_online/esi/universe_groups.rb