Class: Greeve::Character::SkillInTraining
- Inherits:
-
BaseItem
- Object
- BaseItem
- Greeve::Character::SkillInTraining
show all
- Defined in:
- lib/greeve/character/skill_in_training.rb
Overview
Character skill in training.
Instance Method Summary
collapse
Methods inherited from BaseItem
attribute, #cache_expired?, #cached_until, endpoint, #inspect, namespace, #refresh, rowset, #to_s
#to_h
Constructor Details
#initialize(character_id, opts = {}) ⇒ SkillInTraining
Returns a new instance of SkillInTraining
21
22
23
24
|
# File 'lib/greeve/character/skill_in_training.rb', line 21
def initialize(character_id, opts = {})
opts[:query_params] = { "characterID" => character_id }
super(opts)
end
|
Instance Method Details
#current_tq_time ⇒ Time
11
|
# File 'lib/greeve/character/skill_in_training.rb', line 11
attribute :current_tq_time, xpath: "eveapi/result/currentTQTime/?[0]", type: :datetime
|
#skill_in_training ⇒ Object
18
|
# File 'lib/greeve/character/skill_in_training.rb', line 18
attribute :skill_in_training, xpath: "eveapi/result/skillInTraining/?[0]", type: :boolean
|
#training_destination_sp ⇒ Integer
16
|
# File 'lib/greeve/character/skill_in_training.rb', line 16
attribute :training_destination_sp, xpath: "eveapi/result/trainingDestinationSP/?[0]", type: :integer
|
#training_end_time ⇒ Time
12
|
# File 'lib/greeve/character/skill_in_training.rb', line 12
attribute :training_end_time, xpath: "eveapi/result/trainingEndTime/?[0]", type: :datetime
|
#training_start_sp ⇒ Integer
15
|
# File 'lib/greeve/character/skill_in_training.rb', line 15
attribute :training_start_sp, xpath: "eveapi/result/trainingStartSP/?[0]", type: :integer
|
#training_start_time ⇒ Time
13
|
# File 'lib/greeve/character/skill_in_training.rb', line 13
attribute :training_start_time, xpath: "eveapi/result/trainingStartTime/?[0]", type: :datetime
|
#training_to_level ⇒ Integer
17
|
# File 'lib/greeve/character/skill_in_training.rb', line 17
attribute :training_to_level, xpath: "eveapi/result/trainingToLevel/?[0]", type: :integer
|
#training_type_id ⇒ Integer
14
|
# File 'lib/greeve/character/skill_in_training.rb', line 14
attribute :training_type_id, xpath: "eveapi/result/trainingTypeID/?[0]", type: :integer
|