Sha256: 0b465401d347ee02bfa841e0666305a382fb58afdc1a9c62b6e6441b1f81cdda

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_contractitems.html
    class CharacterContractItems < Base
      API_ENDPOINT = 'https://api.eveonline.com/char/ContractItems.xml.aspx'.freeze

      ACCESS_MASK = 67_108_864

      attr_reader :key_id, :v_code, :character_id, :contract_id

      def initialize(key_id, v_code, character_id, contract_id)
        super()
        @key_id = key_id
        @v_code = v_code
        @character_id = character_id
        @contract_id = contract_id
      end

      def url
        "#{ API_ENDPOINT }?keyID=#{ key_id }&vCode=#{ v_code }&characterID=#{ character_id }&contractID=#{ contract_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_contract_items.rb