Class: Greeve::Character::FacWarStats
- Defined in:
- lib/greeve/character/fac_war_stats.rb
Overview
Faction warfare information for characters enrolled in faction warfare.
Instance Method Summary collapse
-
#initialize(character_id, opts = {}) ⇒ FacWarStats
constructor
A new instance of FacWarStats.
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 = {}) ⇒ FacWarStats
Returns a new instance of FacWarStats.
24 25 26 27 |
# File 'lib/greeve/character/fac_war_stats.rb', line 24 def initialize(character_id, opts = {}) opts[:query_params] = { "characterID" => character_id } super(opts) end |