Sha256: e50f6c8695b38fb24b77bc7c51599ce21a3e1fa776fab5346169331b220c6fd8

Contents?: true

Size: 654 Bytes

Versions: 1

Compression:

Stored size: 654 Bytes

Contents

module EveOnline
  module Characters
    # https://eveonline-third-party-documentation.readthedocs.io/en/latest/xmlapi/character/char_chatchannels.html
    class ChatChannels < BaseXML
      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, 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/chat_channels.rb