Sha256: 1be986f5ca60bf10d84ff4de275f964f245762c290249046adae207cab35c331
Contents?: true
Size: 643 Bytes
Versions: 1
Compression:
Stored size: 643 Bytes
Contents
module EveOnline module Characters # https://eveonline-third-party-documentation.readthedocs.org/en/latest/xmlapi/character/char_contactlist.html class ContactList < BaseXML API_ENDPOINT = 'https://api.eveonline.com/char/ContactList.xml.aspx'.freeze ACCESS_MASK = 16 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
eve_online-0.9.0 | lib/eve_online/characters/contact_list.rb |