class EveOnline::ESI::CharacterAssetsNames
Constants
- API_PATH
Attributes
character_id[R]
item_ids[R]
Public Class Methods
new(options)
click to toggle source
Calls superclass method
EveOnline::ESI::Base::new
# File lib/eve_online/esi/character_assets_names.rb, line 10 def initialize(options) super @character_id = options.fetch(:character_id) @item_ids = options.fetch(:item_ids) end
Public Instance Methods
assets_names()
click to toggle source
# File lib/eve_online/esi/character_assets_names.rb, line 17 def assets_names @assets_names ||= begin output = [] response.each do |asset_name| output << Models::AssetName.new(asset_name) end output end end
http_method()
click to toggle source
# File lib/eve_online/esi/character_assets_names.rb, line 28 def http_method :post end
path()
click to toggle source
# File lib/eve_online/esi/character_assets_names.rb, line 40 def path format(API_PATH, character_id: character_id) end
payload()
click to toggle source
# File lib/eve_online/esi/character_assets_names.rb, line 32 def payload item_ids.to_json end
scope()
click to toggle source
# File lib/eve_online/esi/character_assets_names.rb, line 36 def scope "esi-assets.read_assets.v1" end