Sha256: 58733f67073048f7d4f1bd6e2c1d179be83f2363c8bfce8eff752dca063999ea
Contents?: true
Size: 659 Bytes
Versions: 3
Compression:
Stored size: 659 Bytes
Contents
module EveOnline module Characters # https://eveonline-third-party-documentation.readthedocs.io/en/latest/xmlapi/character/char_planetarycolonies.html class PlanetaryColonies < BaseXML API_ENDPOINT = 'https://api.eveonline.com/char/PlanetaryColonies.xml.aspx'.freeze ACCESS_MASK = 2 attr_reader :key_id, :v_code, :character_id def initialize(key_id, v_code, character_id) super() @key_id = key_id @v_code = v_code @character_id = character_id end def url "#{ API_ENDPOINT }?keyID=#{ key_id }&vCode=#{ v_code }&characterID=#{ character_id }" end end end end
Version data entries
3 entries across 3 versions & 1 rubygems