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
{
corporation_id: corporation_id,
description: description,
faction_id: faction_id,
is_unique: is_unique,
militia_corporation_id: militia_corporation_id,
name: name,
size_factor: size_factor,
solar_system_id: solar_system_id,
station_count: station_count,
station_system_count: station_system_count
}
end
|
#corporation_id ⇒ Object
22
23
24
|
# File 'lib/eve_online/esi/models/faction.rb', line 22
def corporation_id
options["corporation_id"]
end
|
#description ⇒ Object
26
27
28
|
# File 'lib/eve_online/esi/models/faction.rb', line 26
def description
options["description"]
end
|
#faction_id ⇒ Object
30
31
32
|
# File 'lib/eve_online/esi/models/faction.rb', line 30
def faction_id
options["faction_id"]
end
|
#is_unique ⇒ Object
34
35
36
|
# File 'lib/eve_online/esi/models/faction.rb', line 34
def is_unique
options["is_unique"]
end
|
#militia_corporation_id ⇒ Object
38
39
40
|
# File 'lib/eve_online/esi/models/faction.rb', line 38
def militia_corporation_id
options["militia_corporation_id"]
end
|
#name ⇒ Object
42
43
44
|
# File 'lib/eve_online/esi/models/faction.rb', line 42
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
50
51
52
|
# File 'lib/eve_online/esi/models/faction.rb', line 50
def solar_system_id
options["solar_system_id"]
end
|
#station_count ⇒ Object
54
55
56
|
# File 'lib/eve_online/esi/models/faction.rb', line 54
def station_count
options["station_count"]
end
|
#station_system_count ⇒ Object
58
59
60
|
# File 'lib/eve_online/esi/models/faction.rb', line 58
def station_system_count
options["station_system_count"]
end
|