Sha256: 7c6b2e947c73113672a47ad4666283e7819baa86f66a9b9ee77f0578ca09a611

Contents?: true

Size: 687 Bytes

Versions: 1

Compression:

Stored size: 687 Bytes

Contents

module EveOnline
  module XML
    # https://eveonline-third-party-documentation.readthedocs.io/en/latest/xmlapi/character/char_killmails.html
    class CharacterKillMails < Base
      API_ENDPOINT = 'https://api.eveonline.com/char/KillMails.xml.aspx'.freeze

      ACCESS_MASK = 256

      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
        # TODO: @from_id
        # TODO: row_count
      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.12.0 lib/eve_online/xml/character_kill_mails.rb