class EveOnline::ESI::CharacterAssetsLocations
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_locations.rb, line 10 def initialize(options) super @character_id = options.fetch(:character_id) @item_ids = options.fetch(:item_ids) end
Public Instance Methods
assets_locations()
click to toggle source
# File lib/eve_online/esi/character_assets_locations.rb, line 17 def assets_locations @assets_locations ||= begin output = [] response.each do |asset_location| output << Models::AssetLocation.new(asset_location) end output end end
etag()
click to toggle source
# File lib/eve_online/esi/character_assets_locations.rb, line 40 def etag raise NotImplementedError end
http_method()
click to toggle source
# File lib/eve_online/esi/character_assets_locations.rb, line 28 def http_method :post end
path()
click to toggle source
# File lib/eve_online/esi/character_assets_locations.rb, line 44 def path format(API_PATH, character_id: character_id) end
payload()
click to toggle source
# File lib/eve_online/esi/character_assets_locations.rb, line 32 def payload item_ids.to_json end
scope()
click to toggle source
# File lib/eve_online/esi/character_assets_locations.rb, line 36 def scope "esi-assets.read_assets.v1" end