eve_online 0.29.0 → 0.30.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.circleci/config.yml +98 -0
- data/.ruby-version +1 -1
- data/Appraisals +23 -0
- data/CHANGELOG.md +16 -0
- data/Gemfile +7 -10
- data/Gemfile.lock +55 -50
- data/Gemfile.mutant.lock +42 -33
- data/README.md +108 -7
- data/Rakefile +2 -2
- data/eve_online.gemspec +28 -27
- data/lib/eve_online.rb +197 -185
- data/lib/eve_online/esi/alliance.rb +6 -6
- data/lib/eve_online/esi/alliance_corporations.rb +4 -3
- data/lib/eve_online/esi/alliance_icon.rb +5 -4
- data/lib/eve_online/esi/alliances.rb +3 -2
- data/lib/eve_online/esi/base.rb +29 -28
- data/lib/eve_online/esi/character.rb +7 -6
- data/lib/eve_online/esi/character_assets.rb +4 -4
- data/lib/eve_online/esi/character_assets_locations.rb +4 -4
- data/lib/eve_online/esi/character_assets_names.rb +4 -4
- data/lib/eve_online/esi/character_attributes.rb +6 -6
- data/lib/eve_online/esi/character_blueprints.rb +4 -4
- data/lib/eve_online/esi/character_bookmark_folders.rb +4 -4
- data/lib/eve_online/esi/character_bookmarks.rb +4 -4
- data/lib/eve_online/esi/character_calendar.rb +4 -4
- data/lib/eve_online/esi/character_calendar_event.rb +4 -5
- data/lib/eve_online/esi/character_clones.rb +7 -7
- data/lib/eve_online/esi/character_corporation_history.rb +4 -3
- data/lib/eve_online/esi/character_fatigue.rb +5 -5
- data/lib/eve_online/esi/character_implants.rb +3 -3
- data/lib/eve_online/esi/character_industry_jobs.rb +4 -4
- data/lib/eve_online/esi/character_killmails_recent.rb +4 -4
- data/lib/eve_online/esi/character_location.rb +5 -5
- data/lib/eve_online/esi/character_loyalty_points.rb +3 -3
- data/lib/eve_online/esi/character_notifications.rb +3 -3
- data/lib/eve_online/esi/character_online.rb +5 -5
- data/lib/eve_online/esi/character_orders.rb +3 -3
- data/lib/eve_online/esi/character_portrait.rb +5 -4
- data/lib/eve_online/esi/character_ship.rb +4 -4
- data/lib/eve_online/esi/character_skill_queue.rb +3 -3
- data/lib/eve_online/esi/character_skills.rb +7 -7
- data/lib/eve_online/esi/character_standings.rb +3 -3
- data/lib/eve_online/esi/character_wallet.rb +4 -4
- data/lib/eve_online/esi/character_wallet_journal.rb +4 -4
- data/lib/eve_online/esi/corporation.rb +8 -7
- data/lib/eve_online/esi/corporation_alliance_history.rb +4 -3
- data/lib/eve_online/esi/corporation_assets.rb +5 -5
- data/lib/eve_online/esi/corporation_assets_locations.rb +5 -5
- data/lib/eve_online/esi/corporation_assets_names.rb +5 -5
- data/lib/eve_online/esi/corporation_blueprints.rb +5 -5
- data/lib/eve_online/esi/corporation_industry_jobs.rb +5 -5
- data/lib/eve_online/esi/corporation_killmails_recent.rb +5 -5
- data/lib/eve_online/esi/corporation_loyalty_store_offers.rb +4 -3
- data/lib/eve_online/esi/corporation_orders.rb +5 -5
- data/lib/eve_online/esi/dogma_attribute.rb +7 -6
- data/lib/eve_online/esi/dogma_attributes.rb +3 -2
- data/lib/eve_online/esi/dogma_effect.rb +11 -11
- data/lib/eve_online/esi/dogma_effects.rb +3 -2
- data/lib/eve_online/esi/market_group.rb +39 -0
- data/lib/eve_online/esi/market_groups.rb +20 -0
- data/lib/eve_online/esi/market_history.rb +5 -4
- data/lib/eve_online/esi/models/aggressor.rb +34 -0
- data/lib/eve_online/esi/models/alliance.rb +8 -8
- data/lib/eve_online/esi/models/alliance_icon.rb +3 -3
- data/lib/eve_online/esi/models/alliance_short.rb +3 -3
- data/lib/eve_online/esi/models/allies.rb +21 -0
- data/lib/eve_online/esi/models/ally.rb +24 -0
- data/lib/eve_online/esi/models/ancestry.rb +7 -7
- data/lib/eve_online/esi/models/asset.rb +9 -9
- data/lib/eve_online/esi/models/asset_location.rb +3 -3
- data/lib/eve_online/esi/models/asset_name.rb +3 -3
- data/lib/eve_online/esi/models/asteroid_belt.rb +4 -4
- data/lib/eve_online/esi/models/attributes.rb +9 -9
- data/lib/eve_online/esi/models/base.rb +2 -2
- data/lib/eve_online/esi/models/bloodline.rb +12 -12
- data/lib/eve_online/esi/models/blueprint.rb +9 -9
- data/lib/eve_online/esi/models/bookmark.rb +11 -11
- data/lib/eve_online/esi/models/bookmark_folder.rb +3 -3
- data/lib/eve_online/esi/models/category.rb +5 -5
- data/lib/eve_online/esi/models/character.rb +13 -13
- data/lib/eve_online/esi/models/character_corporation_history.rb +5 -5
- data/lib/eve_online/esi/models/character_industry_job.rb +23 -23
- data/lib/eve_online/esi/models/character_location.rb +4 -4
- data/lib/eve_online/esi/models/character_order.rb +15 -15
- data/lib/eve_online/esi/models/character_portrait.rb +5 -5
- data/lib/eve_online/esi/models/character_ship.rb +4 -4
- data/lib/eve_online/esi/models/constellation.rb +6 -6
- data/lib/eve_online/esi/models/coordinates.rb +4 -4
- data/lib/eve_online/esi/models/corporation.rb +15 -15
- data/lib/eve_online/esi/models/corporation_alliance_history.rb +5 -5
- data/lib/eve_online/esi/models/corporation_industry_job.rb +23 -23
- data/lib/eve_online/esi/models/corporation_order.rb +16 -16
- data/lib/eve_online/esi/models/defender.rb +34 -0
- data/lib/eve_online/esi/models/dogma_attribute.rb +11 -11
- data/lib/eve_online/esi/models/dogma_attribute_short.rb +3 -3
- data/lib/eve_online/esi/models/dogma_attributes.rb +1 -1
- data/lib/eve_online/esi/models/dogma_effect.rb +22 -22
- data/lib/eve_online/esi/models/dogma_effect_modifier.rb +7 -7
- data/lib/eve_online/esi/models/dogma_effect_modifiers.rb +1 -1
- data/lib/eve_online/esi/models/dogma_effect_short.rb +3 -3
- data/lib/eve_online/esi/models/dogma_effects.rb +1 -1
- data/lib/eve_online/esi/models/event.rb +6 -6
- data/lib/eve_online/esi/models/event_details.rb +11 -11
- data/lib/eve_online/esi/models/faction.rb +11 -11
- data/lib/eve_online/esi/models/fatigue.rb +4 -4
- data/lib/eve_online/esi/models/graphic.rb +9 -9
- data/lib/eve_online/esi/models/group.rb +6 -6
- data/lib/eve_online/esi/models/home_location.rb +3 -3
- data/lib/eve_online/esi/models/jump_clone.rb +6 -6
- data/lib/eve_online/esi/models/killmail_short.rb +3 -3
- data/lib/eve_online/esi/models/loyalty_point.rb +3 -3
- data/lib/eve_online/esi/models/loyalty_store_offer.rb +10 -9
- data/lib/eve_online/esi/models/market_group.rb +38 -0
- data/lib/eve_online/esi/models/market_history.rb +7 -7
- data/lib/eve_online/esi/models/moon.rb +5 -5
- data/lib/eve_online/esi/models/notification.rb +8 -8
- data/lib/eve_online/esi/models/offer_required_item.rb +24 -0
- data/lib/eve_online/esi/models/offer_required_items.rb +21 -0
- data/lib/eve_online/esi/models/online.rb +5 -5
- data/lib/eve_online/esi/models/planet.rb +6 -6
- data/lib/eve_online/esi/models/planet_short.rb +4 -4
- data/lib/eve_online/esi/models/position.rb +4 -4
- data/lib/eve_online/esi/models/race.rb +5 -5
- data/lib/eve_online/esi/models/region.rb +5 -5
- data/lib/eve_online/esi/models/server_status.rb +5 -5
- data/lib/eve_online/esi/models/skill.rb +5 -5
- data/lib/eve_online/esi/models/skill_queue_entry.rb +9 -9
- data/lib/eve_online/esi/models/standing.rb +4 -4
- data/lib/eve_online/esi/models/star.rb +9 -9
- data/lib/eve_online/esi/models/stargate.rb +7 -7
- data/lib/eve_online/esi/models/stargate_destination.rb +3 -3
- data/lib/eve_online/esi/models/station.rb +13 -13
- data/lib/eve_online/esi/models/system.rb +11 -11
- data/lib/eve_online/esi/models/system_jump.rb +3 -3
- data/lib/eve_online/esi/models/system_kill.rb +5 -5
- data/lib/eve_online/esi/models/type.rb +17 -17
- data/lib/eve_online/esi/models/wallet_journal_entry.rb +14 -14
- data/lib/eve_online/esi/models/war.rb +69 -0
- data/lib/eve_online/esi/server_status.rb +4 -3
- data/lib/eve_online/esi/universe_ancestries.rb +4 -3
- data/lib/eve_online/esi/universe_asteroid_belt.rb +5 -4
- data/lib/eve_online/esi/universe_bloodlines.rb +4 -3
- data/lib/eve_online/esi/universe_categories.rb +3 -2
- data/lib/eve_online/esi/universe_category.rb +7 -6
- data/lib/eve_online/esi/universe_constellation.rb +7 -6
- data/lib/eve_online/esi/universe_constellations.rb +3 -2
- data/lib/eve_online/esi/universe_factions.rb +4 -3
- data/lib/eve_online/esi/universe_graphic.rb +7 -6
- data/lib/eve_online/esi/universe_graphics.rb +3 -2
- data/lib/eve_online/esi/universe_group.rb +7 -6
- data/lib/eve_online/esi/universe_groups.rb +4 -3
- data/lib/eve_online/esi/universe_moon.rb +5 -4
- data/lib/eve_online/esi/universe_planet.rb +6 -5
- data/lib/eve_online/esi/universe_races.rb +4 -3
- data/lib/eve_online/esi/universe_region.rb +7 -6
- data/lib/eve_online/esi/universe_regions.rb +3 -2
- data/lib/eve_online/esi/universe_star.rb +6 -6
- data/lib/eve_online/esi/universe_stargate.rb +6 -5
- data/lib/eve_online/esi/universe_station.rb +8 -7
- data/lib/eve_online/esi/universe_structures.rb +4 -3
- data/lib/eve_online/esi/universe_system.rb +8 -7
- data/lib/eve_online/esi/universe_system_jumps.rb +3 -2
- data/lib/eve_online/esi/universe_system_kills.rb +3 -2
- data/lib/eve_online/esi/universe_systems.rb +3 -2
- data/lib/eve_online/esi/universe_type.rb +9 -8
- data/lib/eve_online/esi/universe_types.rb +4 -3
- data/lib/eve_online/esi/war.rb +35 -0
- data/lib/eve_online/esi/war_killmails.rb +5 -4
- data/lib/eve_online/esi/wars.rb +4 -3
- data/lib/eve_online/version.rb +1 -1
- metadata +30 -15
- data/.rubocop-thread_safety.yml +0 -9
- data/.rubocop.yml +0 -14
- data/.rubocop_general.yml +0 -102
- data/.rubocop_rspec.yml +0 -65
- data/.rubocop_todo.yml +0 -0
- data/.travis.yml +0 -100
- data/gemfiles/activesupport_42.gemfile +0 -7
- data/gemfiles/activesupport_50.gemfile +0 -7
- data/gemfiles/activesupport_51.gemfile +0 -7
- data/gemfiles/activesupport_52.gemfile +0 -7
- data/gemfiles/activesupport_60.gemfile +0 -7
- data/gemfiles/activesupport_edge.gemfile +0 -7
@@ -8,24 +8,24 @@ module EveOnline
|
|
8
8
|
{
|
9
9
|
category_id: category_id,
|
10
10
|
name: name,
|
11
|
-
published: published
|
11
|
+
published: published,
|
12
12
|
}
|
13
13
|
end
|
14
14
|
|
15
15
|
def category_id
|
16
|
-
options[
|
16
|
+
options["category_id"]
|
17
17
|
end
|
18
18
|
|
19
19
|
def name
|
20
|
-
options[
|
20
|
+
options["name"]
|
21
21
|
end
|
22
22
|
|
23
23
|
def published
|
24
|
-
options[
|
24
|
+
options["published"]
|
25
25
|
end
|
26
26
|
|
27
27
|
def group_ids
|
28
|
-
options[
|
28
|
+
options["groups"]
|
29
29
|
end
|
30
30
|
end
|
31
31
|
end
|
@@ -17,58 +17,58 @@ module EveOnline
|
|
17
17
|
name: name,
|
18
18
|
race_id: race_id,
|
19
19
|
security_status: security_status,
|
20
|
-
title: title
|
20
|
+
title: title,
|
21
21
|
}
|
22
22
|
end
|
23
23
|
|
24
24
|
def alliance_id
|
25
|
-
options[
|
25
|
+
options["alliance_id"]
|
26
26
|
end
|
27
27
|
|
28
28
|
def ancestry_id
|
29
|
-
options[
|
29
|
+
options["ancestry_id"]
|
30
30
|
end
|
31
31
|
|
32
32
|
def birthday
|
33
|
-
birthday = options[
|
33
|
+
birthday = options["birthday"]
|
34
34
|
|
35
35
|
parse_datetime_with_timezone(birthday) if birthday
|
36
36
|
end
|
37
37
|
|
38
38
|
def bloodline_id
|
39
|
-
options[
|
39
|
+
options["bloodline_id"]
|
40
40
|
end
|
41
41
|
|
42
42
|
def corporation_id
|
43
|
-
options[
|
43
|
+
options["corporation_id"]
|
44
44
|
end
|
45
45
|
|
46
46
|
def description
|
47
|
-
options[
|
47
|
+
options["description"]
|
48
48
|
end
|
49
49
|
|
50
50
|
def faction_id
|
51
|
-
options[
|
51
|
+
options["faction_id"]
|
52
52
|
end
|
53
53
|
|
54
54
|
def gender
|
55
|
-
options[
|
55
|
+
options["gender"]
|
56
56
|
end
|
57
57
|
|
58
58
|
def name
|
59
|
-
options[
|
59
|
+
options["name"]
|
60
60
|
end
|
61
61
|
|
62
62
|
def race_id
|
63
|
-
options[
|
63
|
+
options["race_id"]
|
64
64
|
end
|
65
65
|
|
66
66
|
def security_status
|
67
|
-
options[
|
67
|
+
options["security_status"]
|
68
68
|
end
|
69
69
|
|
70
70
|
def title
|
71
|
-
options[
|
71
|
+
options["title"]
|
72
72
|
end
|
73
73
|
end
|
74
74
|
end
|
@@ -9,24 +9,24 @@ module EveOnline
|
|
9
9
|
corporation_id: corporation_id,
|
10
10
|
is_deleted: is_deleted,
|
11
11
|
record_id: record_id,
|
12
|
-
start_date: start_date
|
12
|
+
start_date: start_date,
|
13
13
|
}
|
14
14
|
end
|
15
15
|
|
16
16
|
def corporation_id
|
17
|
-
options[
|
17
|
+
options["corporation_id"]
|
18
18
|
end
|
19
19
|
|
20
20
|
def is_deleted
|
21
|
-
options[
|
21
|
+
options["is_deleted"]
|
22
22
|
end
|
23
23
|
|
24
24
|
def record_id
|
25
|
-
options[
|
25
|
+
options["record_id"]
|
26
26
|
end
|
27
27
|
|
28
28
|
def start_date
|
29
|
-
start_date = options[
|
29
|
+
start_date = options["start_date"]
|
30
30
|
|
31
31
|
parse_datetime_with_timezone(start_date) if start_date
|
32
32
|
end
|
@@ -27,104 +27,104 @@ module EveOnline
|
|
27
27
|
start_date: start_date,
|
28
28
|
station_id: station_id,
|
29
29
|
status: status,
|
30
|
-
successful_runs: successful_runs
|
30
|
+
successful_runs: successful_runs,
|
31
31
|
}
|
32
32
|
end
|
33
33
|
|
34
34
|
def activity_id
|
35
|
-
options[
|
35
|
+
options["activity_id"]
|
36
36
|
end
|
37
37
|
|
38
38
|
def blueprint_id
|
39
|
-
options[
|
39
|
+
options["blueprint_id"]
|
40
40
|
end
|
41
41
|
|
42
42
|
def blueprint_location_id
|
43
|
-
options[
|
43
|
+
options["blueprint_location_id"]
|
44
44
|
end
|
45
45
|
|
46
46
|
def blueprint_type_id
|
47
|
-
options[
|
47
|
+
options["blueprint_type_id"]
|
48
48
|
end
|
49
49
|
|
50
50
|
def completed_character_id
|
51
|
-
options[
|
51
|
+
options["completed_character_id"]
|
52
52
|
end
|
53
53
|
|
54
54
|
def completed_date
|
55
|
-
completed_date = options[
|
55
|
+
completed_date = options["completed_date"]
|
56
56
|
|
57
57
|
parse_datetime_with_timezone(completed_date) if completed_date
|
58
58
|
end
|
59
59
|
|
60
60
|
def cost
|
61
|
-
options[
|
61
|
+
options["cost"]
|
62
62
|
end
|
63
63
|
|
64
64
|
def duration
|
65
|
-
options[
|
65
|
+
options["duration"]
|
66
66
|
end
|
67
67
|
|
68
68
|
def end_date
|
69
|
-
end_date = options[
|
69
|
+
end_date = options["end_date"]
|
70
70
|
|
71
71
|
parse_datetime_with_timezone(end_date) if end_date
|
72
72
|
end
|
73
73
|
|
74
74
|
def facility_id
|
75
|
-
options[
|
75
|
+
options["facility_id"]
|
76
76
|
end
|
77
77
|
|
78
78
|
def installer_id
|
79
|
-
options[
|
79
|
+
options["installer_id"]
|
80
80
|
end
|
81
81
|
|
82
82
|
def job_id
|
83
|
-
options[
|
83
|
+
options["job_id"]
|
84
84
|
end
|
85
85
|
|
86
86
|
def licensed_runs
|
87
|
-
options[
|
87
|
+
options["licensed_runs"]
|
88
88
|
end
|
89
89
|
|
90
90
|
def output_location_id
|
91
|
-
options[
|
91
|
+
options["output_location_id"]
|
92
92
|
end
|
93
93
|
|
94
94
|
def pause_date
|
95
|
-
pause_date = options[
|
95
|
+
pause_date = options["pause_date"]
|
96
96
|
|
97
97
|
parse_datetime_with_timezone(pause_date) if pause_date
|
98
98
|
end
|
99
99
|
|
100
100
|
def probability
|
101
|
-
options[
|
101
|
+
options["probability"]
|
102
102
|
end
|
103
103
|
|
104
104
|
def product_type_id
|
105
|
-
options[
|
105
|
+
options["product_type_id"]
|
106
106
|
end
|
107
107
|
|
108
108
|
def runs
|
109
|
-
options[
|
109
|
+
options["runs"]
|
110
110
|
end
|
111
111
|
|
112
112
|
def start_date
|
113
|
-
start_date = options[
|
113
|
+
start_date = options["start_date"]
|
114
114
|
|
115
115
|
parse_datetime_with_timezone(start_date) if start_date
|
116
116
|
end
|
117
117
|
|
118
118
|
def station_id
|
119
|
-
options[
|
119
|
+
options["station_id"]
|
120
120
|
end
|
121
121
|
|
122
122
|
def status
|
123
|
-
options[
|
123
|
+
options["status"]
|
124
124
|
end
|
125
125
|
|
126
126
|
def successful_runs
|
127
|
-
options[
|
127
|
+
options["successful_runs"]
|
128
128
|
end
|
129
129
|
end
|
130
130
|
end
|
@@ -8,20 +8,20 @@ module EveOnline
|
|
8
8
|
{
|
9
9
|
solar_system_id: solar_system_id,
|
10
10
|
station_id: station_id,
|
11
|
-
structure_id: structure_id
|
11
|
+
structure_id: structure_id,
|
12
12
|
}
|
13
13
|
end
|
14
14
|
|
15
15
|
def solar_system_id
|
16
|
-
options[
|
16
|
+
options["solar_system_id"]
|
17
17
|
end
|
18
18
|
|
19
19
|
def station_id
|
20
|
-
options[
|
20
|
+
options["station_id"]
|
21
21
|
end
|
22
22
|
|
23
23
|
def structure_id
|
24
|
-
options[
|
24
|
+
options["structure_id"]
|
25
25
|
end
|
26
26
|
end
|
27
27
|
end
|
@@ -19,66 +19,66 @@ module EveOnline
|
|
19
19
|
region_id: region_id,
|
20
20
|
type_id: type_id,
|
21
21
|
volume_remain: volume_remain,
|
22
|
-
volume_total: volume_total
|
22
|
+
volume_total: volume_total,
|
23
23
|
}
|
24
24
|
end
|
25
25
|
|
26
26
|
def duration
|
27
|
-
options[
|
27
|
+
options["duration"]
|
28
28
|
end
|
29
29
|
|
30
30
|
def escrow
|
31
|
-
options[
|
31
|
+
options["escrow"]
|
32
32
|
end
|
33
33
|
|
34
34
|
def is_buy_order
|
35
|
-
options[
|
35
|
+
options["is_buy_order"]
|
36
36
|
end
|
37
37
|
|
38
38
|
def is_corporation
|
39
|
-
options[
|
39
|
+
options["is_corporation"]
|
40
40
|
end
|
41
41
|
|
42
42
|
def issued
|
43
|
-
issued = options[
|
43
|
+
issued = options["issued"]
|
44
44
|
|
45
45
|
parse_datetime_with_timezone(issued) if issued
|
46
46
|
end
|
47
47
|
|
48
48
|
def location_id
|
49
|
-
options[
|
49
|
+
options["location_id"]
|
50
50
|
end
|
51
51
|
|
52
52
|
def min_volume
|
53
|
-
options[
|
53
|
+
options["min_volume"]
|
54
54
|
end
|
55
55
|
|
56
56
|
def order_id
|
57
|
-
options[
|
57
|
+
options["order_id"]
|
58
58
|
end
|
59
59
|
|
60
60
|
def price
|
61
|
-
options[
|
61
|
+
options["price"]
|
62
62
|
end
|
63
63
|
|
64
64
|
def range
|
65
|
-
options[
|
65
|
+
options["range"]
|
66
66
|
end
|
67
67
|
|
68
68
|
def region_id
|
69
|
-
options[
|
69
|
+
options["region_id"]
|
70
70
|
end
|
71
71
|
|
72
72
|
def type_id
|
73
|
-
options[
|
73
|
+
options["type_id"]
|
74
74
|
end
|
75
75
|
|
76
76
|
def volume_remain
|
77
|
-
options[
|
77
|
+
options["volume_remain"]
|
78
78
|
end
|
79
79
|
|
80
80
|
def volume_total
|
81
|
-
options[
|
81
|
+
options["volume_total"]
|
82
82
|
end
|
83
83
|
end
|
84
84
|
end
|
@@ -9,24 +9,24 @@ module EveOnline
|
|
9
9
|
medium: medium,
|
10
10
|
large: large,
|
11
11
|
huge: huge,
|
12
|
-
small: small
|
12
|
+
small: small,
|
13
13
|
}
|
14
14
|
end
|
15
15
|
|
16
16
|
def medium
|
17
|
-
options[
|
17
|
+
options["px128x128"]
|
18
18
|
end
|
19
19
|
|
20
20
|
def large
|
21
|
-
options[
|
21
|
+
options["px256x256"]
|
22
22
|
end
|
23
23
|
|
24
24
|
def huge
|
25
|
-
options[
|
25
|
+
options["px512x512"]
|
26
26
|
end
|
27
27
|
|
28
28
|
def small
|
29
|
-
options[
|
29
|
+
options["px64x64"]
|
30
30
|
end
|
31
31
|
end
|
32
32
|
end
|
@@ -8,20 +8,20 @@ module EveOnline
|
|
8
8
|
{
|
9
9
|
ship_item_id: ship_item_id,
|
10
10
|
ship_name: ship_name,
|
11
|
-
ship_type_id: ship_type_id
|
11
|
+
ship_type_id: ship_type_id,
|
12
12
|
}
|
13
13
|
end
|
14
14
|
|
15
15
|
def ship_item_id
|
16
|
-
options[
|
16
|
+
options["ship_item_id"]
|
17
17
|
end
|
18
18
|
|
19
19
|
def ship_name
|
20
|
-
options[
|
20
|
+
options["ship_name"]
|
21
21
|
end
|
22
22
|
|
23
23
|
def ship_type_id
|
24
|
-
options[
|
24
|
+
options["ship_type_id"]
|
25
25
|
end
|
26
26
|
end
|
27
27
|
end
|
@@ -8,28 +8,28 @@ module EveOnline
|
|
8
8
|
{
|
9
9
|
constellation_id: constellation_id,
|
10
10
|
name: name,
|
11
|
-
region_id: region_id
|
11
|
+
region_id: region_id,
|
12
12
|
}
|
13
13
|
end
|
14
14
|
|
15
15
|
def constellation_id
|
16
|
-
options[
|
16
|
+
options["constellation_id"]
|
17
17
|
end
|
18
18
|
|
19
19
|
def name
|
20
|
-
options[
|
20
|
+
options["name"]
|
21
21
|
end
|
22
22
|
|
23
23
|
def region_id
|
24
|
-
options[
|
24
|
+
options["region_id"]
|
25
25
|
end
|
26
26
|
|
27
27
|
def system_ids
|
28
|
-
options[
|
28
|
+
options["systems"]
|
29
29
|
end
|
30
30
|
|
31
31
|
def position
|
32
|
-
@position ||= Position.new(options[
|
32
|
+
@position ||= Position.new(options["position"])
|
33
33
|
end
|
34
34
|
end
|
35
35
|
end
|