Class: Greeve::Character::PlanetaryLinks
- Defined in:
- lib/greeve/character/planetary_links.rb
Overview
Planetary links for colonies owned by character.
Instance Method Summary collapse
-
#initialize(character_id, planet_id, opts = {}) ⇒ PlanetaryLinks
constructor
A new instance of PlanetaryLinks.
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, planet_id, opts = {}) ⇒ PlanetaryLinks
Returns a new instance of PlanetaryLinks.
20 21 22 23 24 25 26 27 |
# File 'lib/greeve/character/planetary_links.rb', line 20 def initialize(character_id, planet_id, opts = {}) opts[:query_params] = { "characterID" => character_id, "planetID" => planet_id, } super(opts) end |