Class: Greeve::Character::PlanetaryPins
- Defined in:
- lib/greeve/character/planetary_pins.rb
Overview
Planetary pins for colonies owned by character.
Instance Method Summary collapse
-
#initialize(character_id, planet_id, opts = {}) ⇒ PlanetaryPins
constructor
A new instance of PlanetaryPins.
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 = {}) ⇒ PlanetaryPins
Returns a new instance of PlanetaryPins.
31 32 33 34 35 36 37 38 |
# File 'lib/greeve/character/planetary_pins.rb', line 31 def initialize(character_id, planet_id, opts = {}) opts[:query_params] = { "characterID" => character_id, "planetID" => planet_id, } super(opts) end |