Class: Greeve::Character::PlanetaryColonies
- Defined in:
- lib/greeve/character/planetary_colonies.rb
Overview
Planetary colonies owned by character.
Instance Method Summary collapse
-
#initialize(character_id, opts = {}) ⇒ PlanetaryColonies
constructor
A new instance of PlanetaryColonies.
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 = {}) ⇒ PlanetaryColonies
Returns a new instance of PlanetaryColonies.
26 27 28 29 |
# File 'lib/greeve/character/planetary_colonies.rb', line 26 def initialize(character_id, opts = {}) opts[:query_params] = { "characterID" => character_id } super(opts) end |