Class: EveOnline::ESI::Models::CharacterShip
- Inherits:
-
Base
- Object
- Base
- EveOnline::ESI::Models::CharacterShip
show all
- Defined in:
- lib/eve_online/esi/models/character_ship.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/character_ship.rb', line 7
def as_json
{
ship_item_id: ship_item_id,
ship_name: ship_name,
ship_type_id: ship_type_id
}
end
|
#ship_item_id ⇒ Object
15
16
17
|
# File 'lib/eve_online/esi/models/character_ship.rb', line 15
def ship_item_id
options["ship_item_id"]
end
|
#ship_name ⇒ Object
19
20
21
|
# File 'lib/eve_online/esi/models/character_ship.rb', line 19
def ship_name
options["ship_name"]
end
|
#ship_type_id ⇒ Object
23
24
25
|
# File 'lib/eve_online/esi/models/character_ship.rb', line 23
def ship_type_id
options["ship_type_id"]
end
|