Class: EveOnline::ESI::Models::Coordinates
- Inherits:
-
Base
- Object
- Base
- EveOnline::ESI::Models::Coordinates
show all
- Defined in:
- lib/eve_online/esi/models/coordinates.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
13
|
# File 'lib/eve_online/esi/models/coordinates.rb', line 7
def as_json
{
x: x,
y: y,
z: z
}
end
|
#x ⇒ Object
TODO: check ‘options && ’
16
17
18
|
# File 'lib/eve_online/esi/models/coordinates.rb', line 16
def x
options && options["x"]
end
|
#y ⇒ Object
20
21
22
|
# File 'lib/eve_online/esi/models/coordinates.rb', line 20
def y
options && options["y"]
end
|
#z ⇒ Object
24
25
26
|
# File 'lib/eve_online/esi/models/coordinates.rb', line 24
def z
options && options["z"]
end
|