Sha256: a4992d5870848b8de5b1a695e3e6b715b471417c35b602035cb3809f2a7637ba
Contents?: true
Size: 660 Bytes
Versions: 1
Compression:
Stored size: 660 Bytes
Contents
module EveOnline module ESI class CharacterAssets < Base API_ENDPOINT = 'https://esi.tech.ccp.is/v3/characters/%<character_id>s/assets/?datasource=tranquility&page=1'.freeze attr_reader :character_id def initialize(options) super @character_id = options[:character_id] end def assets output = [] response.each do |asset| output << Models::Asset.new(asset) end output end memoize :assets def scope 'esi-assets.read_assets.v1' end def url format(API_ENDPOINT, character_id: character_id) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
eve_online-0.14.0 | lib/eve_online/esi/character_assets.rb |