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