Class: EveOnline::ESI::Models::Faction
- Inherits:
-
Base
- Object
- Base
- EveOnline::ESI::Models::Faction
show all
- Defined in:
- lib/eve_online/esi/models/faction.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
14
15
16
17
18
19
20
|
# File 'lib/eve_online/esi/models/faction.rb', line 7
def as_json
{
faction_id: faction_id,
name: name,
description: description,
solar_system_id: solar_system_id,
corporation_id: corporation_id,
militia_corporation_id: militia_corporation_id,
size_factor: size_factor,
station_count: station_count,
station_system_count: station_system_count,
is_unique: is_unique
}
end
|
#corporation_id ⇒ Object
38
39
40
|
# File 'lib/eve_online/esi/models/faction.rb', line 38
def corporation_id
options['corporation_id']
end
|
#description ⇒ Object
30
31
32
|
# File 'lib/eve_online/esi/models/faction.rb', line 30
def description
options['description']
end
|
#faction_id ⇒ Object
22
23
24
|
# File 'lib/eve_online/esi/models/faction.rb', line 22
def faction_id
options['faction_id']
end
|
#is_unique ⇒ Object
58
59
60
|
# File 'lib/eve_online/esi/models/faction.rb', line 58
def is_unique
options['is_unique']
end
|
#militia_corporation_id ⇒ Object
42
43
44
|
# File 'lib/eve_online/esi/models/faction.rb', line 42
def militia_corporation_id
options['militia_corporation_id']
end
|
#name ⇒ Object
26
27
28
|
# File 'lib/eve_online/esi/models/faction.rb', line 26
def name
options['name']
end
|
#size_factor ⇒ Object
46
47
48
|
# File 'lib/eve_online/esi/models/faction.rb', line 46
def size_factor
options['size_factor']
end
|
#solar_system_id ⇒ Object
34
35
36
|
# File 'lib/eve_online/esi/models/faction.rb', line 34
def solar_system_id
options['solar_system_id']
end
|
#station_count ⇒ Object
50
51
52
|
# File 'lib/eve_online/esi/models/faction.rb', line 50
def station_count
options['station_count']
end
|
#station_system_count ⇒ Object
54
55
56
|
# File 'lib/eve_online/esi/models/faction.rb', line 54
def station_system_count
options['station_system_count']
end
|