Sha256: c3145a0bd560fadf525418bf92d29db856f672c0806bff121abca18657d1ecc6
Contents?: true
Size: 707 Bytes
Versions: 2
Compression:
Stored size: 707 Bytes
Contents
# frozen_string_literal: true module EveOnline module ESI class CharacterSkillQueue < Base API_PATH = '/v2/characters/%<character_id>s/skillqueue/' attr_reader :character_id def initialize(options) super @character_id = options.fetch(:character_id) end def skills @skills ||= begin output = [] response.each do |skill| output << Models::SkillQueueEntry.new(skill) end output end end def scope 'esi-skills.read_skillqueue.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_skill_queue.rb |
eve_online-0.28.0 | lib/eve_online/esi/character_skill_queue.rb |