class Greeve::Eve::CharacterName

Returns the names for a comma-separated list of owner IDs for characters, corporations, alliances, etc.

@see eveonline-third-party-documentation.readthedocs.io/en/latest/xmlapi/eve/eve_charactername.html

Public Class Methods

new(*ids) click to toggle source

@param ids [Array<Integer>] IDs of characters

@!method initialize(*ids, opts = {})

Calls superclass method Greeve::BaseItem::new
# File lib/greeve/eve/character_name.rb, line 20
def initialize(*ids)
  opts = ids.last.is_a?(Hash) ? ids.pop : {}

  opts[:query_params] = { "IDs" => ids.join(",") }

  super(opts)
end