Class: Greeve::Character::SkillQueue
- Defined in:
- lib/greeve/character/skill_queue.rb
Overview
Note:
Character skill queue.
Attributes collapse
Instance Method Summary collapse
-
#initialize(character_id, opts = {}) ⇒ SkillQueue
constructor
A new instance of SkillQueue.
Methods inherited from BaseItem
attribute, #cache_expired?, #cached_until, endpoint, #inspect, namespace, #refresh, rowset, #to_s
Methods included from Helpers::AttributeToHash
Constructor Details
#initialize(character_id, opts = {}) ⇒ SkillQueue
Returns a new instance of SkillQueue
22 23 24 25 |
# File 'lib/greeve/character/skill_queue.rb', line 22 def initialize(character_id, opts = {}) opts[:query_params] = { "characterID" => character_id } super(opts) end |
Instance Method Details
#skillqueue ⇒ Greeve::Rowset
11 12 13 14 15 16 17 18 19 |
# File 'lib/greeve/character/skill_queue.rb', line 11 rowset :skillqueue, xpath: "eveapi/result/rowset[@name='skillqueue']" do attribute :queue_position, xpath: "@queuePosition", type: :integer attribute :type_id, xpath: "@typeID", type: :integer attribute :level, xpath: "@level", type: :integer attribute :start_sp, xpath: "@startSP", type: :integer attribute :end_sp, xpath: "@endSP", type: :integer attribute :start_time, xpath: "@startTime", type: :datetime attribute :end_time, xpath: "@endTime", type: :datetime end |