Sha256: 6ab6e0b37047124f5960348361b1009c750b9b27c0c40b35e3d8fb81e2d9c150

Contents?: true

Size: 641 Bytes

Versions: 1

Compression:

Stored size: 641 Bytes

Contents

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

      ACCESS_MASK = 64

      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.12.0 lib/eve_online/xml/character_fac_war_stats.rb