class Greeve::Eve::CharacterAffiliation

Corporations, alliances, and factions the character(s) are members of.

@see eveonline-third-party-documentation.readthedocs.io/en/latest/xmlapi/eve/eve_characteraffiliation.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_affiliation.rb, line 25
def initialize(*ids)
  opts = ids.last.is_a?(Hash) ? ids.pop : {}

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

  super(opts)
end