esi-sdk 2.1.0 → 2.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +2 -0
- data/Gemfile.lock +1 -1
- data/Rakefile +1 -2
- data/lib/esi/client/assets.rb +2 -4
- data/lib/esi/client/bookmarks.rb +4 -8
- data/lib/esi/client/character.rb +1 -2
- data/lib/esi/client/contacts.rb +3 -6
- data/lib/esi/client/contracts.rb +6 -12
- data/lib/esi/client/corporation.rb +9 -18
- data/lib/esi/client/industry.rb +5 -10
- data/lib/esi/client/killmails.rb +2 -4
- data/lib/esi/client/market.rb +6 -12
- data/lib/esi/client/planetary_interaction.rb +1 -2
- data/lib/esi/client/universe.rb +2 -4
- data/lib/esi/client/wallet.rb +2 -4
- data/lib/esi/client/wars.rb +1 -2
- data/lib/esi/client.rb +4 -0
- data/lib/esi/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8602a9c524badb41010f8762e394df4bc923307acece2d53b64e91cdc7f934ae
|
4
|
+
data.tar.gz: 268036494ca33085700e903a266e4ca69f280637f6e53b46ebd33476b4c3db5a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7f0c8d1c2052b7670cefa35bc0b98250bdac06e5cb1fa1c04be6c752f42beb2b859660ec9dd3450c10f018ff8015e0e896ff9fefb058996b6161bdee59b03fc2
|
7
|
+
data.tar.gz: 135710a1b828b631fcc0169e4c590c4a0ed968c818a0d93aaf397a399e14ad1d85b1a468c18922d9937eb5ea237df5aecd07b5311ca2e38336efd991015f9d8b
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
data/Rakefile
CHANGED
@@ -244,8 +244,7 @@ task :generate do
|
|
244
244
|
#{description}
|
245
245
|
def #{method_name}#{signature}
|
246
246
|
#{params_merge}
|
247
|
-
|
248
|
-
responses.map(&:json).reduce([], :concat)
|
247
|
+
concat_responses(#{method_name}_raw#{raw_call})
|
249
248
|
end
|
250
249
|
#{alias_methods}
|
251
250
|
|
data/lib/esi/client/assets.rb
CHANGED
@@ -30,8 +30,7 @@ module ESI
|
|
30
30
|
#
|
31
31
|
# @see https://esi.evetech.net/ui/#/Assets/get_characters_character_id_assets
|
32
32
|
def get_character_assets(character_id:, headers: {}, params: {})
|
33
|
-
|
34
|
-
responses.map(&:json).reduce([], :concat)
|
33
|
+
concat_responses(get_character_assets_raw(character_id: character_id, headers: headers, params: params))
|
35
34
|
end
|
36
35
|
alias get_characters_character_id_assets get_character_assets
|
37
36
|
|
@@ -89,8 +88,7 @@ module ESI
|
|
89
88
|
#
|
90
89
|
# @see https://esi.evetech.net/ui/#/Assets/get_corporations_corporation_id_assets
|
91
90
|
def get_corporation_assets(corporation_id:, headers: {}, params: {})
|
92
|
-
|
93
|
-
responses.map(&:json).reduce([], :concat)
|
91
|
+
concat_responses(get_corporation_assets_raw(corporation_id: corporation_id, headers: headers, params: params))
|
94
92
|
end
|
95
93
|
alias get_corporations_corporation_id_assets get_corporation_assets
|
96
94
|
|
data/lib/esi/client/bookmarks.rb
CHANGED
@@ -29,8 +29,7 @@ module ESI
|
|
29
29
|
#
|
30
30
|
# @see https://esi.evetech.net/ui/#/Bookmarks/get_characters_character_id_bookmarks_folders
|
31
31
|
def get_character_bookmark_folders(character_id:, headers: {}, params: {})
|
32
|
-
|
33
|
-
responses.map(&:json).reduce([], :concat)
|
32
|
+
concat_responses(get_character_bookmark_folders_raw(character_id: character_id, headers: headers, params: params))
|
34
33
|
end
|
35
34
|
alias get_characters_character_id_bookmarks_folders get_character_bookmark_folders
|
36
35
|
|
@@ -87,8 +86,7 @@ module ESI
|
|
87
86
|
#
|
88
87
|
# @see https://esi.evetech.net/ui/#/Bookmarks/get_characters_character_id_bookmarks
|
89
88
|
def get_character_bookmarks(character_id:, headers: {}, params: {})
|
90
|
-
|
91
|
-
responses.map(&:json).reduce([], :concat)
|
89
|
+
concat_responses(get_character_bookmarks_raw(character_id: character_id, headers: headers, params: params))
|
92
90
|
end
|
93
91
|
alias get_characters_character_id_bookmarks get_character_bookmarks
|
94
92
|
|
@@ -146,8 +144,7 @@ module ESI
|
|
146
144
|
#
|
147
145
|
# @see https://esi.evetech.net/ui/#/Bookmarks/get_corporations_corporation_id_bookmarks_folders
|
148
146
|
def get_corporation_bookmark_folders(corporation_id:, headers: {}, params: {})
|
149
|
-
|
150
|
-
responses.map(&:json).reduce([], :concat)
|
147
|
+
concat_responses(get_corporation_bookmark_folders_raw(corporation_id: corporation_id, headers: headers, params: params))
|
151
148
|
end
|
152
149
|
alias get_corporations_corporation_id_bookmarks_folders get_corporation_bookmark_folders
|
153
150
|
|
@@ -206,8 +203,7 @@ module ESI
|
|
206
203
|
#
|
207
204
|
# @see https://esi.evetech.net/ui/#/Bookmarks/get_corporations_corporation_id_bookmarks
|
208
205
|
def get_corporation_bookmarks(corporation_id:, headers: {}, params: {})
|
209
|
-
|
210
|
-
responses.map(&:json).reduce([], :concat)
|
206
|
+
concat_responses(get_corporation_bookmarks_raw(corporation_id: corporation_id, headers: headers, params: params))
|
211
207
|
end
|
212
208
|
alias get_corporations_corporation_id_bookmarks get_corporation_bookmarks
|
213
209
|
|
data/lib/esi/client/character.rb
CHANGED
@@ -133,8 +133,7 @@ module ESI
|
|
133
133
|
#
|
134
134
|
# @see https://esi.evetech.net/ui/#/Character/get_characters_character_id_blueprints
|
135
135
|
def get_character_blueprints(character_id:, headers: {}, params: {})
|
136
|
-
|
137
|
-
responses.map(&:json).reduce([], :concat)
|
136
|
+
concat_responses(get_character_blueprints_raw(character_id: character_id, headers: headers, params: params))
|
138
137
|
end
|
139
138
|
alias get_characters_character_id_blueprints get_character_blueprints
|
140
139
|
|
data/lib/esi/client/contacts.rb
CHANGED
@@ -144,8 +144,7 @@ module ESI
|
|
144
144
|
#
|
145
145
|
# @see https://esi.evetech.net/ui/#/Contacts/get_alliances_alliance_id_contacts
|
146
146
|
def get_alliance_contacts(alliance_id:, headers: {}, params: {})
|
147
|
-
|
148
|
-
responses.map(&:json).reduce([], :concat)
|
147
|
+
concat_responses(get_alliance_contacts_raw(alliance_id: alliance_id, headers: headers, params: params))
|
149
148
|
end
|
150
149
|
alias get_alliances_alliance_id_contacts get_alliance_contacts
|
151
150
|
|
@@ -261,8 +260,7 @@ module ESI
|
|
261
260
|
#
|
262
261
|
# @see https://esi.evetech.net/ui/#/Contacts/get_characters_character_id_contacts
|
263
262
|
def get_character_contacts(character_id:, headers: {}, params: {})
|
264
|
-
|
265
|
-
responses.map(&:json).reduce([], :concat)
|
263
|
+
concat_responses(get_character_contacts_raw(character_id: character_id, headers: headers, params: params))
|
266
264
|
end
|
267
265
|
alias get_characters_character_id_contacts get_character_contacts
|
268
266
|
|
@@ -378,8 +376,7 @@ module ESI
|
|
378
376
|
#
|
379
377
|
# @see https://esi.evetech.net/ui/#/Contacts/get_corporations_corporation_id_contacts
|
380
378
|
def get_corporation_contacts(corporation_id:, headers: {}, params: {})
|
381
|
-
|
382
|
-
responses.map(&:json).reduce([], :concat)
|
379
|
+
concat_responses(get_corporation_contacts_raw(corporation_id: corporation_id, headers: headers, params: params))
|
383
380
|
end
|
384
381
|
alias get_corporations_corporation_id_contacts get_corporation_contacts
|
385
382
|
|
data/lib/esi/client/contracts.rb
CHANGED
@@ -156,8 +156,7 @@ module ESI
|
|
156
156
|
#
|
157
157
|
# @see https://esi.evetech.net/ui/#/Contracts/get_characters_character_id_contracts
|
158
158
|
def get_character_contracts(character_id:, headers: {}, params: {})
|
159
|
-
|
160
|
-
responses.map(&:json).reduce([], :concat)
|
159
|
+
concat_responses(get_character_contracts_raw(character_id: character_id, headers: headers, params: params))
|
161
160
|
end
|
162
161
|
alias get_characters_character_id_contracts get_character_contracts
|
163
162
|
|
@@ -212,8 +211,7 @@ module ESI
|
|
212
211
|
#
|
213
212
|
# @see https://esi.evetech.net/ui/#/Contracts/get_contracts_public_bids_contract_id
|
214
213
|
def get_contracts_public_bids_contract(contract_id:, headers: {}, params: {})
|
215
|
-
|
216
|
-
responses.map(&:json).reduce([], :concat)
|
214
|
+
concat_responses(get_contracts_public_bids_contract_raw(contract_id: contract_id, headers: headers, params: params))
|
217
215
|
end
|
218
216
|
alias get_contracts_public_bids_contract_id get_contracts_public_bids_contract
|
219
217
|
|
@@ -264,8 +262,7 @@ module ESI
|
|
264
262
|
#
|
265
263
|
# @see https://esi.evetech.net/ui/#/Contracts/get_contracts_public_items_contract_id
|
266
264
|
def get_contracts_public_items_contract(contract_id:, headers: {}, params: {})
|
267
|
-
|
268
|
-
responses.map(&:json).reduce([], :concat)
|
265
|
+
concat_responses(get_contracts_public_items_contract_raw(contract_id: contract_id, headers: headers, params: params))
|
269
266
|
end
|
270
267
|
alias get_contracts_public_items_contract_id get_contracts_public_items_contract
|
271
268
|
|
@@ -315,8 +312,7 @@ module ESI
|
|
315
312
|
#
|
316
313
|
# @see https://esi.evetech.net/ui/#/Contracts/get_contracts_public_region_id
|
317
314
|
def get_contracts_public_region(region_id:, headers: {}, params: {})
|
318
|
-
|
319
|
-
responses.map(&:json).reduce([], :concat)
|
315
|
+
concat_responses(get_contracts_public_region_raw(region_id: region_id, headers: headers, params: params))
|
320
316
|
end
|
321
317
|
alias get_contracts_public_region_id get_contracts_public_region
|
322
318
|
|
@@ -372,8 +368,7 @@ module ESI
|
|
372
368
|
#
|
373
369
|
# @see https://esi.evetech.net/ui/#/Contracts/get_corporations_corporation_id_contracts_contract_id_bids
|
374
370
|
def get_corporation_contract_bids(contract_id:, corporation_id:, headers: {}, params: {})
|
375
|
-
|
376
|
-
responses.map(&:json).reduce([], :concat)
|
371
|
+
concat_responses(get_corporation_contract_bids_raw(contract_id: contract_id, corporation_id: corporation_id, headers: headers, params: params))
|
377
372
|
end
|
378
373
|
alias get_corporations_corporation_id_contracts_contract_id_bids get_corporation_contract_bids
|
379
374
|
|
@@ -499,8 +494,7 @@ module ESI
|
|
499
494
|
#
|
500
495
|
# @see https://esi.evetech.net/ui/#/Contracts/get_corporations_corporation_id_contracts
|
501
496
|
def get_corporation_contracts(corporation_id:, headers: {}, params: {})
|
502
|
-
|
503
|
-
responses.map(&:json).reduce([], :concat)
|
497
|
+
concat_responses(get_corporation_contracts_raw(corporation_id: corporation_id, headers: headers, params: params))
|
504
498
|
end
|
505
499
|
alias get_corporations_corporation_id_contracts get_corporation_contracts
|
506
500
|
|
@@ -122,8 +122,7 @@ module ESI
|
|
122
122
|
#
|
123
123
|
# @see https://esi.evetech.net/ui/#/Corporation/get_corporations_corporation_id_blueprints
|
124
124
|
def get_corporation_blueprints(corporation_id:, headers: {}, params: {})
|
125
|
-
|
126
|
-
responses.map(&:json).reduce([], :concat)
|
125
|
+
concat_responses(get_corporation_blueprints_raw(corporation_id: corporation_id, headers: headers, params: params))
|
127
126
|
end
|
128
127
|
alias get_corporations_corporation_id_blueprints get_corporation_blueprints
|
129
128
|
|
@@ -180,8 +179,7 @@ module ESI
|
|
180
179
|
#
|
181
180
|
# @see https://esi.evetech.net/ui/#/Corporation/get_corporations_corporation_id_containers_logs
|
182
181
|
def get_corporation_container_logs(corporation_id:, headers: {}, params: {})
|
183
|
-
|
184
|
-
responses.map(&:json).reduce([], :concat)
|
182
|
+
concat_responses(get_corporation_container_logs_raw(corporation_id: corporation_id, headers: headers, params: params))
|
185
183
|
end
|
186
184
|
alias get_corporations_corporation_id_containers_logs get_corporation_container_logs
|
187
185
|
|
@@ -399,8 +397,7 @@ module ESI
|
|
399
397
|
#
|
400
398
|
# @see https://esi.evetech.net/ui/#/Corporation/get_corporations_corporation_id_medals
|
401
399
|
def get_corporation_medals(corporation_id:, headers: {}, params: {})
|
402
|
-
|
403
|
-
responses.map(&:json).reduce([], :concat)
|
400
|
+
concat_responses(get_corporation_medals_raw(corporation_id: corporation_id, headers: headers, params: params))
|
404
401
|
end
|
405
402
|
alias get_corporations_corporation_id_medals get_corporation_medals
|
406
403
|
|
@@ -457,8 +454,7 @@ module ESI
|
|
457
454
|
#
|
458
455
|
# @see https://esi.evetech.net/ui/#/Corporation/get_corporations_corporation_id_medals_issued
|
459
456
|
def get_corporation_medals_issued(corporation_id:, headers: {}, params: {})
|
460
|
-
|
461
|
-
responses.map(&:json).reduce([], :concat)
|
457
|
+
concat_responses(get_corporation_medals_issued_raw(corporation_id: corporation_id, headers: headers, params: params))
|
462
458
|
end
|
463
459
|
alias get_corporations_corporation_id_medals_issued get_corporation_medals_issued
|
464
460
|
|
@@ -839,8 +835,7 @@ module ESI
|
|
839
835
|
#
|
840
836
|
# @see https://esi.evetech.net/ui/#/Corporation/get_corporations_corporation_id_roles_history
|
841
837
|
def get_corporation_roles_history(corporation_id:, headers: {}, params: {})
|
842
|
-
|
843
|
-
responses.map(&:json).reduce([], :concat)
|
838
|
+
concat_responses(get_corporation_roles_history_raw(corporation_id: corporation_id, headers: headers, params: params))
|
844
839
|
end
|
845
840
|
alias get_corporations_corporation_id_roles_history get_corporation_roles_history
|
846
841
|
|
@@ -898,8 +893,7 @@ module ESI
|
|
898
893
|
#
|
899
894
|
# @see https://esi.evetech.net/ui/#/Corporation/get_corporations_corporation_id_shareholders
|
900
895
|
def get_corporation_shareholders(corporation_id:, headers: {}, params: {})
|
901
|
-
|
902
|
-
responses.map(&:json).reduce([], :concat)
|
896
|
+
concat_responses(get_corporation_shareholders_raw(corporation_id: corporation_id, headers: headers, params: params))
|
903
897
|
end
|
904
898
|
alias get_corporations_corporation_id_shareholders get_corporation_shareholders
|
905
899
|
|
@@ -957,8 +951,7 @@ module ESI
|
|
957
951
|
#
|
958
952
|
# @see https://esi.evetech.net/ui/#/Corporation/get_corporations_corporation_id_standings
|
959
953
|
def get_corporation_standings(corporation_id:, headers: {}, params: {})
|
960
|
-
|
961
|
-
responses.map(&:json).reduce([], :concat)
|
954
|
+
concat_responses(get_corporation_standings_raw(corporation_id: corporation_id, headers: headers, params: params))
|
962
955
|
end
|
963
956
|
alias get_corporations_corporation_id_standings get_corporation_standings
|
964
957
|
|
@@ -1077,8 +1070,7 @@ module ESI
|
|
1077
1070
|
#
|
1078
1071
|
# @see https://esi.evetech.net/ui/#/Corporation/get_corporations_corporation_id_starbases
|
1079
1072
|
def get_corporation_starbases(corporation_id:, headers: {}, params: {})
|
1080
|
-
|
1081
|
-
responses.map(&:json).reduce([], :concat)
|
1073
|
+
concat_responses(get_corporation_starbases_raw(corporation_id: corporation_id, headers: headers, params: params))
|
1082
1074
|
end
|
1083
1075
|
alias get_corporations_corporation_id_starbases get_corporation_starbases
|
1084
1076
|
|
@@ -1135,8 +1127,7 @@ module ESI
|
|
1135
1127
|
#
|
1136
1128
|
# @see https://esi.evetech.net/ui/#/Corporation/get_corporations_corporation_id_structures
|
1137
1129
|
def get_corporation_structures(corporation_id:, headers: {}, params: {})
|
1138
|
-
|
1139
|
-
responses.map(&:json).reduce([], :concat)
|
1130
|
+
concat_responses(get_corporation_structures_raw(corporation_id: corporation_id, headers: headers, params: params))
|
1140
1131
|
end
|
1141
1132
|
alias get_corporations_corporation_id_structures get_corporation_structures
|
1142
1133
|
|
data/lib/esi/client/industry.rb
CHANGED
@@ -92,8 +92,7 @@ module ESI
|
|
92
92
|
#
|
93
93
|
# @see https://esi.evetech.net/ui/#/Industry/get_characters_character_id_mining
|
94
94
|
def get_character_mining(character_id:, headers: {}, params: {})
|
95
|
-
|
96
|
-
responses.map(&:json).reduce([], :concat)
|
95
|
+
concat_responses(get_character_mining_raw(character_id: character_id, headers: headers, params: params))
|
97
96
|
end
|
98
97
|
alias get_characters_character_id_mining get_character_mining
|
99
98
|
|
@@ -154,8 +153,7 @@ module ESI
|
|
154
153
|
# @see https://esi.evetech.net/ui/#/Industry/get_corporations_corporation_id_industry_jobs
|
155
154
|
def get_corporation_industry_jobs(corporation_id:, include_completed: nil, headers: {}, params: {})
|
156
155
|
params.merge!("include_completed" => include_completed)
|
157
|
-
|
158
|
-
responses.map(&:json).reduce([], :concat)
|
156
|
+
concat_responses(get_corporation_industry_jobs_raw(corporation_id: corporation_id, include_completed: include_completed, headers: headers, params: params))
|
159
157
|
end
|
160
158
|
alias get_corporations_corporation_id_industry_jobs get_corporation_industry_jobs
|
161
159
|
|
@@ -216,8 +214,7 @@ module ESI
|
|
216
214
|
#
|
217
215
|
# @see https://esi.evetech.net/ui/#/Industry/get_corporation_corporation_id_mining_extractions
|
218
216
|
def get_corporation_mining_extractions(corporation_id:, headers: {}, params: {})
|
219
|
-
|
220
|
-
responses.map(&:json).reduce([], :concat)
|
217
|
+
concat_responses(get_corporation_mining_extractions_raw(corporation_id: corporation_id, headers: headers, params: params))
|
221
218
|
end
|
222
219
|
alias get_corporation_corporation_id_mining_extractions get_corporation_mining_extractions
|
223
220
|
|
@@ -277,8 +274,7 @@ module ESI
|
|
277
274
|
#
|
278
275
|
# @see https://esi.evetech.net/ui/#/Industry/get_corporation_corporation_id_mining_observers_observer_id
|
279
276
|
def get_corporation_mining_observer(corporation_id:, observer_id:, headers: {}, params: {})
|
280
|
-
|
281
|
-
responses.map(&:json).reduce([], :concat)
|
277
|
+
concat_responses(get_corporation_mining_observer_raw(corporation_id: corporation_id, observer_id: observer_id, headers: headers, params: params))
|
282
278
|
end
|
283
279
|
alias get_corporation_corporation_id_mining_observers_observer_id get_corporation_mining_observer
|
284
280
|
|
@@ -338,8 +334,7 @@ module ESI
|
|
338
334
|
#
|
339
335
|
# @see https://esi.evetech.net/ui/#/Industry/get_corporation_corporation_id_mining_observers
|
340
336
|
def get_corporation_mining_observers(corporation_id:, headers: {}, params: {})
|
341
|
-
|
342
|
-
responses.map(&:json).reduce([], :concat)
|
337
|
+
concat_responses(get_corporation_mining_observers_raw(corporation_id: corporation_id, headers: headers, params: params))
|
343
338
|
end
|
344
339
|
alias get_corporation_corporation_id_mining_observers get_corporation_mining_observers
|
345
340
|
|
data/lib/esi/client/killmails.rb
CHANGED
@@ -30,8 +30,7 @@ module ESI
|
|
30
30
|
#
|
31
31
|
# @see https://esi.evetech.net/ui/#/Killmails/get_characters_character_id_killmails_recent
|
32
32
|
def get_character_killmails_recent(character_id:, headers: {}, params: {})
|
33
|
-
|
34
|
-
responses.map(&:json).reduce([], :concat)
|
33
|
+
concat_responses(get_character_killmails_recent_raw(character_id: character_id, headers: headers, params: params))
|
35
34
|
end
|
36
35
|
alias get_characters_character_id_killmails_recent get_character_killmails_recent
|
37
36
|
|
@@ -90,8 +89,7 @@ module ESI
|
|
90
89
|
#
|
91
90
|
# @see https://esi.evetech.net/ui/#/Killmails/get_corporations_corporation_id_killmails_recent
|
92
91
|
def get_corporation_killmails_recent(corporation_id:, headers: {}, params: {})
|
93
|
-
|
94
|
-
responses.map(&:json).reduce([], :concat)
|
92
|
+
concat_responses(get_corporation_killmails_recent_raw(corporation_id: corporation_id, headers: headers, params: params))
|
95
93
|
end
|
96
94
|
alias get_corporations_corporation_id_killmails_recent get_corporation_killmails_recent
|
97
95
|
|
data/lib/esi/client/market.rb
CHANGED
@@ -87,8 +87,7 @@ module ESI
|
|
87
87
|
#
|
88
88
|
# @see https://esi.evetech.net/ui/#/Market/get_characters_character_id_orders_history
|
89
89
|
def get_character_orders_history(character_id:, headers: {}, params: {})
|
90
|
-
|
91
|
-
responses.map(&:json).reduce([], :concat)
|
90
|
+
concat_responses(get_character_orders_history_raw(character_id: character_id, headers: headers, params: params))
|
92
91
|
end
|
93
92
|
alias get_characters_character_id_orders_history get_character_orders_history
|
94
93
|
|
@@ -146,8 +145,7 @@ module ESI
|
|
146
145
|
#
|
147
146
|
# @see https://esi.evetech.net/ui/#/Market/get_corporations_corporation_id_orders
|
148
147
|
def get_corporation_orders(corporation_id:, headers: {}, params: {})
|
149
|
-
|
150
|
-
responses.map(&:json).reduce([], :concat)
|
148
|
+
concat_responses(get_corporation_orders_raw(corporation_id: corporation_id, headers: headers, params: params))
|
151
149
|
end
|
152
150
|
alias get_corporations_corporation_id_orders get_corporation_orders
|
153
151
|
|
@@ -204,8 +202,7 @@ module ESI
|
|
204
202
|
#
|
205
203
|
# @see https://esi.evetech.net/ui/#/Market/get_corporations_corporation_id_orders_history
|
206
204
|
def get_corporation_orders_history(corporation_id:, headers: {}, params: {})
|
207
|
-
|
208
|
-
responses.map(&:json).reduce([], :concat)
|
205
|
+
concat_responses(get_corporation_orders_history_raw(corporation_id: corporation_id, headers: headers, params: params))
|
209
206
|
end
|
210
207
|
alias get_corporations_corporation_id_orders_history get_corporation_orders_history
|
211
208
|
|
@@ -445,8 +442,7 @@ module ESI
|
|
445
442
|
# @see https://esi.evetech.net/ui/#/Market/get_markets_region_id_orders
|
446
443
|
def get_markets_region_orders(region_id:, order_type: "all", type_id: nil, headers: {}, params: {})
|
447
444
|
params.merge!("order_type" => order_type, "type_id" => type_id)
|
448
|
-
|
449
|
-
responses.map(&:json).reduce([], :concat)
|
445
|
+
concat_responses(get_markets_region_orders_raw(region_id: region_id, order_type: order_type, type_id: type_id, headers: headers, params: params))
|
450
446
|
end
|
451
447
|
alias get_markets_region_id_orders get_markets_region_orders
|
452
448
|
|
@@ -498,8 +494,7 @@ module ESI
|
|
498
494
|
#
|
499
495
|
# @see https://esi.evetech.net/ui/#/Market/get_markets_region_id_types
|
500
496
|
def get_markets_region_types(region_id:, headers: {}, params: {})
|
501
|
-
|
502
|
-
responses.map(&:json).reduce([], :concat)
|
497
|
+
concat_responses(get_markets_region_types_raw(region_id: region_id, headers: headers, params: params))
|
503
498
|
end
|
504
499
|
alias get_markets_region_id_types get_markets_region_types
|
505
500
|
|
@@ -552,8 +547,7 @@ module ESI
|
|
552
547
|
#
|
553
548
|
# @see https://esi.evetech.net/ui/#/Market/get_markets_structures_structure_id
|
554
549
|
def get_markets_structure(structure_id:, headers: {}, params: {})
|
555
|
-
|
556
|
-
responses.map(&:json).reduce([], :concat)
|
550
|
+
concat_responses(get_markets_structure_raw(structure_id: structure_id, headers: headers, params: params))
|
557
551
|
end
|
558
552
|
alias get_markets_structures_structure_id get_markets_structure
|
559
553
|
|
@@ -146,8 +146,7 @@ module ESI
|
|
146
146
|
#
|
147
147
|
# @see https://esi.evetech.net/ui/#/Planetary Interaction/get_corporations_corporation_id_customs_offices
|
148
148
|
def get_corporation_customs_offices(corporation_id:, headers: {}, params: {})
|
149
|
-
|
150
|
-
responses.map(&:json).reduce([], :concat)
|
149
|
+
concat_responses(get_corporation_customs_offices_raw(corporation_id: corporation_id, headers: headers, params: params))
|
151
150
|
end
|
152
151
|
alias get_corporations_corporation_id_customs_offices get_corporation_customs_offices
|
153
152
|
|
data/lib/esi/client/universe.rb
CHANGED
@@ -467,8 +467,7 @@ module ESI
|
|
467
467
|
#
|
468
468
|
# @see https://esi.evetech.net/ui/#/Universe/get_universe_groups
|
469
469
|
def get_universe_groups(headers: {}, params: {})
|
470
|
-
|
471
|
-
responses.map(&:json).reduce([], :concat)
|
470
|
+
concat_responses(get_universe_groups_raw(headers: headers, params: params))
|
472
471
|
end
|
473
472
|
|
474
473
|
# Get a list of item groups.
|
@@ -1152,8 +1151,7 @@ module ESI
|
|
1152
1151
|
#
|
1153
1152
|
# @see https://esi.evetech.net/ui/#/Universe/get_universe_types
|
1154
1153
|
def get_universe_types(headers: {}, params: {})
|
1155
|
-
|
1156
|
-
responses.map(&:json).reduce([], :concat)
|
1154
|
+
concat_responses(get_universe_types_raw(headers: headers, params: params))
|
1157
1155
|
end
|
1158
1156
|
|
1159
1157
|
# Get a list of type ids.
|
data/lib/esi/client/wallet.rb
CHANGED
@@ -86,8 +86,7 @@ module ESI
|
|
86
86
|
#
|
87
87
|
# @see https://esi.evetech.net/ui/#/Wallet/get_characters_character_id_wallet_journal
|
88
88
|
def get_character_wallet_journal(character_id:, headers: {}, params: {})
|
89
|
-
|
90
|
-
responses.map(&:json).reduce([], :concat)
|
89
|
+
concat_responses(get_character_wallet_journal_raw(character_id: character_id, headers: headers, params: params))
|
91
90
|
end
|
92
91
|
alias get_characters_character_id_wallet_journal get_character_wallet_journal
|
93
92
|
|
@@ -266,8 +265,7 @@ module ESI
|
|
266
265
|
#
|
267
266
|
# @see https://esi.evetech.net/ui/#/Wallet/get_corporations_corporation_id_wallets_division_journal
|
268
267
|
def get_corporation_wallets_division_journal(corporation_id:, division:, headers: {}, params: {})
|
269
|
-
|
270
|
-
responses.map(&:json).reduce([], :concat)
|
268
|
+
concat_responses(get_corporation_wallets_division_journal_raw(corporation_id: corporation_id, division: division, headers: headers, params: params))
|
271
269
|
end
|
272
270
|
alias get_corporations_corporation_id_wallets_division_journal get_corporation_wallets_division_journal
|
273
271
|
|
data/lib/esi/client/wars.rb
CHANGED
@@ -74,8 +74,7 @@ module ESI
|
|
74
74
|
#
|
75
75
|
# @see https://esi.evetech.net/ui/#/Wars/get_wars_war_id_killmails
|
76
76
|
def get_war_killmails(war_id:, headers: {}, params: {})
|
77
|
-
|
78
|
-
responses.map(&:json).reduce([], :concat)
|
77
|
+
concat_responses(get_war_killmails_raw(war_id: war_id, headers: headers, params: params))
|
79
78
|
end
|
80
79
|
alias get_wars_war_id_killmails get_war_killmails
|
81
80
|
|
data/lib/esi/client.rb
CHANGED
data/lib/esi/version.rb
CHANGED