Class: Greeve::Corporation::AccountBalance
- Defined in:
- lib/greeve/corporation/account_balance.rb
Overview
Note:
Corporation account balances.
Attributes collapse
Methods inherited from BaseItem
attribute, #cache_expired?, #cached_until, endpoint, #initialize, #inspect, namespace, #refresh, rowset, #to_s
Methods included from Helpers::AttributeToHash
Constructor Details
This class inherits a constructor from Greeve::BaseItem
Instance Method Details
#accounts ⇒ Greeve::Rowset
11 12 13 14 15 |
# File 'lib/greeve/corporation/account_balance.rb', line 11 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 |