Sha256: 23b6994657d5a1f5d5f029689c38bc7b0fbc4e5c26fcc7199a0dc4b161a73854

Contents?: true

Size: 518 Bytes

Versions: 2

Compression:

Stored size: 518 Bytes

Contents

# frozen_string_literal: true

module EveOnline
  module ESI
    class CharacterImplants < Base
      API_PATH = '/v1/characters/%<character_id>s/implants/'

      attr_reader :character_id

      def initialize(options)
        super

        @character_id = options.fetch(:character_id)
      end

      def implant_ids
        response
      end

      def scope
        'esi-clones.read_implants.v1'
      end

      def path
        format("#{ API_PATH }", character_id: character_id)
      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/character_implants.rb
eve_online-0.28.0 lib/eve_online/esi/character_implants.rb