Sha256: 01fc0833575ef8829ac1af59f133dc08e54db7c826bd6c92ba8a2bfeec63dcbd
Contents?: true
Size: 802 Bytes
Versions: 2
Compression:
Stored size: 802 Bytes
Contents
# frozen_string_literal: true require 'forwardable' module EveOnline module ESI class CharacterAttributes < Base extend Forwardable API_PATH = '/v1/characters/%<character_id>s/attributes/' attr_reader :character_id def initialize(options) super @character_id = options.fetch(:character_id) end def_delegators :model, :as_json, :accrued_remap_cooldown_date, :bonus_remaps, :charisma, :intelligence, :last_remap_date, :memory, :perception, :willpower def model @model ||= Models::Attributes.new(response) end def scope 'esi-skills.read_skills.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_attributes.rb |
eve_online-0.28.0 | lib/eve_online/esi/character_attributes.rb |