Class: Esi::Calls::Planet

Inherits:
Base
  • Object
show all
Defined in:
lib/esi/calls/universe.rb

Constant Summary

Constants inherited from Base

Base::CACHE_NAMESPACE

Instance Attribute Summary

Attributes inherited from Base

#params, #path

Instance Method Summary collapse

Methods inherited from Base

#cache_key, #method, #page, #page=, #paginated?, #url

Constructor Details

#initialize(planet_id) ⇒ Planet

Returns a new instance of Planet.



60
61
62
# File 'lib/esi/calls/universe.rb', line 60

def initialize(planet_id)
  @path = "/universe/planets/#{planet_id}"
end