class Greeve::Corporation::Locations

Location of an item or character.

@see eveonline-third-party-documentation.readthedocs.io/en/latest/xmlapi/corporation/corp_locations.html

Public Class Methods

new(*ids) click to toggle source

@param ids [Array<Integer>] IDs of items to retrieve location info for

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

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

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

  super(opts)
end