Class: EveOnline::ESI::Models::Star
- Inherits:
-
Base
- Object
- Base
- EveOnline::ESI::Models::Star
show all
- Defined in:
- lib/eve_online/esi/models/star.rb
Instance Attribute Summary
Attributes inherited from Base
#options
Instance Method Summary
collapse
Methods inherited from Base
#initialize
Instance Method Details
#age ⇒ Object
20
21
22
|
# File 'lib/eve_online/esi/models/star.rb', line 20
def age
options["age"]
end
|
#as_json ⇒ Object
7
8
9
10
11
12
13
14
15
16
17
18
|
# File 'lib/eve_online/esi/models/star.rb', line 7
def as_json
{
age: age,
luminosity: luminosity,
name: name,
radius: radius,
solar_system_id: solar_system_id,
spectral_class: spectral_class,
temperature: temperature,
type_id: type_id
}
end
|
#luminosity ⇒ Object
24
25
26
|
# File 'lib/eve_online/esi/models/star.rb', line 24
def luminosity
options["luminosity"]
end
|
#name ⇒ Object
28
29
30
|
# File 'lib/eve_online/esi/models/star.rb', line 28
def name
options["name"]
end
|
#radius ⇒ Object
32
33
34
|
# File 'lib/eve_online/esi/models/star.rb', line 32
def radius
options["radius"]
end
|
#solar_system_id ⇒ Object
36
37
38
|
# File 'lib/eve_online/esi/models/star.rb', line 36
def solar_system_id
options["solar_system_id"]
end
|
#spectral_class ⇒ Object
40
41
42
|
# File 'lib/eve_online/esi/models/star.rb', line 40
def spectral_class
options["spectral_class"]
end
|
#temperature ⇒ Object
44
45
46
|
# File 'lib/eve_online/esi/models/star.rb', line 44
def temperature
options["temperature"]
end
|
#type_id ⇒ Object
48
49
50
|
# File 'lib/eve_online/esi/models/star.rb', line 48
def type_id
options["type_id"]
end
|