Sha256: 65c31c3b514dc57f9d3074b1a3696e5bd3260952a1e6fd2c50730db830e29b47

Contents?: true

Size: 757 Bytes

Versions: 1

Compression:

Stored size: 757 Bytes

Contents

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

      ACCESS_MASK = 4_194_304

      attr_reader :key_id, :v_code, :character_id # TODO: :account_key

      def initialize(key_id, v_code, character_id) # TODO: account_key
        super()
        @key_id = key_id
        @v_code = v_code
        @character_id = character_id
        # @account_key = account_key TODO: add
      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_wallet_transactions.rb