Class: EveOnline::ESI::Models::Planets

Inherits:
Base
  • Object
show all
Defined in:
lib/eve_online/esi/models/planets.rb

Instance Attribute Summary

Attributes inherited from Base

#options

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from EveOnline::ESI::Models::Base

Instance Method Details

#planetsObject



7
8
9
10
11
12
13
14
15
# File 'lib/eve_online/esi/models/planets.rb', line 7

def planets
  output = []

  options.each do |planet_short|
    output << PlanetShort.new(planet_short)
  end

  output
end