Sha256: aa1df68a3e6dcaccd4f94e5ab459355a4ac72a1a1668c784294e55c7e4112b1d
Contents?: true
Size: 628 Bytes
Versions: 1
Compression:
Stored size: 628 Bytes
Contents
module EveOnline module Characters # https://eveonline-third-party-documentation.readthedocs.org/en/latest/xmlapi/character/char_charactersheet.html class CharacterSheet < BaseXML API_ENDPOINT = 'https://api.eveonline.com/char/CharacterSheet.xml.aspx'.freeze 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.7.0 | lib/eve_online/characters/character_sheet.rb |