Sha256: 642b698ffeec540a6e199303e201cad41c50ef1f12ee5d2be4ed9e4a5aa42798

Contents?: true

Size: 652 Bytes

Versions: 1

Compression:

Stored size: 652 Bytes

Contents

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

      ACCESS_MASK = 67_108_864

      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_contract_bids.rb