Sha256: 7cf2bb40c5478490d2b6c4a5eaefed5bbe3c4d2a41b4222e27d874f907460297
Contents?: true
Size: 745 Bytes
Versions: 1
Compression:
Stored size: 745 Bytes
Contents
module EveOnline module XML # https://eveonline-third-party-documentation.readthedocs.io/en/latest/xmlapi/character/char_chatchannels.html class CharacterChatChannels < Base API_ENDPOINT = 'https://api.eveonline.com/char/ChatChannels.xml.aspx'.freeze ACCESS_MASK = 536_870_912 attr_reader :key_id, :v_code, :character_id def initialize(key_id, v_code, options = {}) super() @key_id = key_id @v_code = v_code @character_id = options.fetch(:character_id, nil) end def url output = "#{ API_ENDPOINT }?keyID=#{ key_id }&vCode=#{ v_code }" output = "#{ output }&characterID=#{ character_id }" if character_id output end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
eve_online-0.12.0 | lib/eve_online/xml/character_chat_channels.rb |