Sha256: 500dbf46ef1ffeab8c4ed3cba70500d639443111bd68ca72f5ac9eb2240ba6fb
Contents?: true
Size: 815 Bytes
Versions: 1
Compression:
Stored size: 815 Bytes
Contents
require_relative "../base_item" module Greeve module Character # Character account balance. # # @see https://eveonline-third-party-documentation.readthedocs.io/en/latest/xmlapi/character/char_accountbalance.html class AccountBalance < Greeve::BaseItem endpoint "char/AccountBalance" rowset :accounts, xpath: "eveapi/result/rowset[@name='accounts']" do attribute :account_id, xpath: "@accountID", type: :integer attribute :account_key, xpath: "@accountKey", type: :integer attribute :balance, xpath: "@balance", type: :numeric end # @param character_id [Integer] EVE character ID def initialize(character_id, opts = {}) opts[:query_params] = { "characterID" => character_id } super(opts) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
greeve-1.0.0 | lib/greeve/character/account_balance.rb |