class Greeve::Eve::TypeName

Returns the names associated with a sequence of typeIDs.

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

Public Class Methods

new(*ids) click to toggle source

@param ids [Array<Integer>, Integer] EVE type IDs

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

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

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

  super(opts)
end