Class: EveOnline::ESI::Models::AsteroidBelt
- Inherits:
-
Base
- Object
- Base
- EveOnline::ESI::Models::AsteroidBelt
show all
- Defined in:
- lib/eve_online/esi/models/asteroid_belt.rb
Instance Attribute Summary
Attributes inherited from Base
#options
Instance Method Summary
collapse
Methods inherited from Base
#initialize
Instance Method Details
#as_json ⇒ Object
7
8
9
10
11
12
|
# File 'lib/eve_online/esi/models/asteroid_belt.rb', line 7
def as_json
{
name: name,
system_id: system_id
}
end
|
#name ⇒ Object
14
15
16
|
# File 'lib/eve_online/esi/models/asteroid_belt.rb', line 14
def name
options["name"]
end
|
#position ⇒ Object
22
23
24
|
# File 'lib/eve_online/esi/models/asteroid_belt.rb', line 22
def position
@position ||= Position.new(options["position"])
end
|
#system_id ⇒ Object
18
19
20
|
# File 'lib/eve_online/esi/models/asteroid_belt.rb', line 18
def system_id
options["system_id"]
end
|