Class: Esi::Calls::Moon

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(moon_id) ⇒ Moon

Returns a new instance of Moon.



66
67
68
# File 'lib/esi/calls/universe.rb', line 66

def initialize(moon_id)
  @path = "/universe/moons/#{moon_id}"
end