class Greeve::Eve::CharacterID

Retrieves character IDs based on names.

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

Public Class Methods

new(*names) click to toggle source

@param names [Array<Integer>] names of characters

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

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

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

  super(opts)
end