Class: Greeve::Account::AccountStatus
- Inherits:
-
BaseItem
- Object
- BaseItem
- Greeve::Account::AccountStatus
show all
- Defined in:
- lib/greeve/account/account_status.rb
Overview
Information about a player’s EVE account like creation time, minutes spent
in game etc.
Methods inherited from BaseItem
attribute, #cache_expired?, #cached_until, endpoint, #initialize, #inspect, namespace, #refresh, rowset, #to_s
#to_h
Instance Method Details
#create_date ⇒ Time
13
|
# File 'lib/greeve/account/account_status.rb', line 13
attribute :create_date, xpath: "eveapi/result/createDate/?[0]", type: :datetime
|
#logon_count ⇒ Integer
14
|
# File 'lib/greeve/account/account_status.rb', line 14
attribute :logon_count, xpath: "eveapi/result/logonCount/?[0]", type: :integer
|
#logon_minutes ⇒ Integer
15
|
# File 'lib/greeve/account/account_status.rb', line 15
attribute :logon_minutes, xpath: "eveapi/result/logonMinutes/?[0]", type: :integer
|
17
18
19
|
# File 'lib/greeve/account/account_status.rb', line 17
rowset :multi_character_training, xpath: "eveapi/result/rowset[@name='multiCharacterTraining']" do
attribute :training_end, xpath: "@trainingEnd", type: :datetime
end
|
#paid_until ⇒ Time
12
|
# File 'lib/greeve/account/account_status.rb', line 12
attribute :paid_until, xpath: "eveapi/result/paidUntil/?[0]", type: :datetime
|