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