esi-sdk 1.1.3 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (42) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +7 -0
  3. data/Gemfile.lock +7 -1
  4. data/README.md +15 -0
  5. data/Rakefile +30 -26
  6. data/esi-sdk.gemspec +1 -0
  7. data/lib/esi/client.rb +66 -44
  8. data/lib/esi/client/alliance.rb +7 -7
  9. data/lib/esi/client/assets.rb +20 -16
  10. data/lib/esi/client/bookmarks.rb +8 -8
  11. data/lib/esi/client/calendar.rb +15 -14
  12. data/lib/esi/client/character.rb +31 -29
  13. data/lib/esi/client/clones.rb +4 -4
  14. data/lib/esi/client/contacts.rb +26 -24
  15. data/lib/esi/client/contracts.rb +22 -22
  16. data/lib/esi/client/corporation.rb +46 -46
  17. data/lib/esi/client/dogma.rb +9 -9
  18. data/lib/esi/client/faction_warfare.rb +10 -10
  19. data/lib/esi/client/fittings.rb +9 -8
  20. data/lib/esi/client/fleets.rb +49 -42
  21. data/lib/esi/client/incursions.rb +1 -1
  22. data/lib/esi/client/industry.rb +19 -19
  23. data/lib/esi/client/insurance.rb +1 -1
  24. data/lib/esi/client/killmails.rb +7 -7
  25. data/lib/esi/client/location.rb +6 -6
  26. data/lib/esi/client/loyalty.rb +4 -4
  27. data/lib/esi/client/mail.rb +26 -23
  28. data/lib/esi/client/market.rb +25 -25
  29. data/lib/esi/client/opportunities.rb +8 -8
  30. data/lib/esi/client/planetary_interaction.rb +9 -9
  31. data/lib/esi/client/routes.rb +6 -6
  32. data/lib/esi/client/search.rb +7 -7
  33. data/lib/esi/client/skills.rb +6 -6
  34. data/lib/esi/client/sovereignty.rb +3 -3
  35. data/lib/esi/client/status.rb +1 -1
  36. data/lib/esi/client/universe.rb +51 -49
  37. data/lib/esi/client/user_interface.rb +19 -14
  38. data/lib/esi/client/wallet.rb +18 -18
  39. data/lib/esi/client/wars.rb +7 -7
  40. data/lib/esi/errors.rb +11 -0
  41. data/lib/esi/version.rb +1 -1
  42. metadata +16 -2
@@ -15,7 +15,7 @@ module ESI
15
15
  # @esi_version dev
16
16
  # @esi_version v2
17
17
  #
18
- # @param character_id [Integer,String] An EVE character ID
18
+ # @param character_id [Integer] An EVE character ID
19
19
  # @param params [Hash] Additional query string parameters
20
20
  # @param headers [Hash] Additional headers
21
21
  #
@@ -28,7 +28,7 @@ module ESI
28
28
  # @raise [ESI::Errors::GatewayTimeoutError] Gateway timeout
29
29
  #
30
30
  # @see https://esi.evetech.net/ui/#/Market/get_characters_character_id_orders
31
- def get_character_orders(character_id:, params: {}, headers: {})
31
+ def get_character_orders(character_id:, headers: {}, params: {})
32
32
  get("/characters/#{character_id}/orders/", headers: headers, params: params)
33
33
  end
34
34
  alias get_characters_character_id_orders get_character_orders
@@ -45,7 +45,7 @@ module ESI
45
45
  # @esi_version legacy
46
46
  # @esi_version v1
47
47
  #
48
- # @param character_id [Integer,String] An EVE character ID
48
+ # @param character_id [Integer] An EVE character ID
49
49
  # @param params [Hash] Additional query string parameters
50
50
  # @param headers [Hash] Additional headers
51
51
  #
@@ -58,7 +58,7 @@ module ESI
58
58
  # @raise [ESI::Errors::GatewayTimeoutError] Gateway timeout
59
59
  #
60
60
  # @see https://esi.evetech.net/ui/#/Market/get_characters_character_id_orders_history
61
- def get_character_orders_history(character_id:, params: {}, headers: {})
61
+ def get_character_orders_history(character_id:, headers: {}, params: {})
62
62
  get("/characters/#{character_id}/orders/history/", headers: headers, params: params)
63
63
  end
64
64
  alias get_characters_character_id_orders_history get_character_orders_history
@@ -74,7 +74,7 @@ module ESI
74
74
  # @esi_version dev
75
75
  # @esi_version v3
76
76
  #
77
- # @param corporation_id [Integer,String] An EVE corporation ID
77
+ # @param corporation_id [Integer] An EVE corporation ID
78
78
  # @param params [Hash] Additional query string parameters
79
79
  # @param headers [Hash] Additional headers
80
80
  #
@@ -87,7 +87,7 @@ module ESI
87
87
  # @raise [ESI::Errors::GatewayTimeoutError] Gateway timeout
88
88
  #
89
89
  # @see https://esi.evetech.net/ui/#/Market/get_corporations_corporation_id_orders
90
- def get_corporation_orders(corporation_id:, params: {}, headers: {})
90
+ def get_corporation_orders(corporation_id:, headers: {}, params: {})
91
91
  get("/corporations/#{corporation_id}/orders/", headers: headers, params: params)
92
92
  end
93
93
  alias get_corporations_corporation_id_orders get_corporation_orders
@@ -103,7 +103,7 @@ module ESI
103
103
  # @esi_version dev
104
104
  # @esi_version v2
105
105
  #
106
- # @param corporation_id [Integer,String] An EVE corporation ID
106
+ # @param corporation_id [Integer] An EVE corporation ID
107
107
  # @param params [Hash] Additional query string parameters
108
108
  # @param headers [Hash] Additional headers
109
109
  #
@@ -116,7 +116,7 @@ module ESI
116
116
  # @raise [ESI::Errors::GatewayTimeoutError] Gateway timeout
117
117
  #
118
118
  # @see https://esi.evetech.net/ui/#/Market/get_corporations_corporation_id_orders_history
119
- def get_corporation_orders_history(corporation_id:, params: {}, headers: {})
119
+ def get_corporation_orders_history(corporation_id:, headers: {}, params: {})
120
120
  get("/corporations/#{corporation_id}/orders/history/", headers: headers, params: params)
121
121
  end
122
122
  alias get_corporations_corporation_id_orders_history get_corporation_orders_history
@@ -137,7 +137,7 @@ module ESI
137
137
  # @raise [ESI::Errors::GatewayTimeoutError] Gateway timeout
138
138
  #
139
139
  # @see https://esi.evetech.net/ui/#/Market/get_markets_groups
140
- def get_market_groups(params: {}, headers: {})
140
+ def get_market_groups(headers: {}, params: {})
141
141
  get("/markets/groups/", headers: headers, params: params)
142
142
  end
143
143
  alias get_markets_groups get_market_groups
@@ -148,7 +148,7 @@ module ESI
148
148
  # @esi_version legacy
149
149
  # @esi_version v1
150
150
  #
151
- # @param market_group_id [Integer,String] An Eve item group ID
151
+ # @param market_group_id [Integer] An Eve item group ID
152
152
  # @param params [Hash] Additional query string parameters
153
153
  # @param headers [Hash] Additional headers
154
154
  #
@@ -160,7 +160,7 @@ module ESI
160
160
  # @raise [ESI::Errors::GatewayTimeoutError] Gateway timeout
161
161
  #
162
162
  # @see https://esi.evetech.net/ui/#/Market/get_markets_groups_market_group_id
163
- def get_market_groups_market_group(market_group_id:, params: {}, headers: {})
163
+ def get_market_groups_market_group(market_group_id:, headers: {}, params: {})
164
164
  get("/markets/groups/#{market_group_id}/", headers: headers, params: params)
165
165
  end
166
166
  alias get_markets_groups_market_group_id get_market_groups_market_group
@@ -183,7 +183,7 @@ module ESI
183
183
  # @raise [ESI::Errors::GatewayTimeoutError] Gateway timeout
184
184
  #
185
185
  # @see https://esi.evetech.net/ui/#/Market/get_markets_prices
186
- def get_market_prices(params: {}, headers: {})
186
+ def get_market_prices(headers: {}, params: {})
187
187
  get("/markets/prices/", headers: headers, params: params)
188
188
  end
189
189
  alias get_markets_prices get_market_prices
@@ -194,7 +194,7 @@ module ESI
194
194
  # @esi_version legacy
195
195
  # @esi_version v1
196
196
  #
197
- # @param region_id [Integer,String] Return statistics in this region
197
+ # @param region_id [Integer] Return statistics in this region
198
198
  # @param type_id [Integer] Return statistics for this type
199
199
  # @param params [Hash] Additional query string parameters
200
200
  # @param headers [Hash] Additional headers
@@ -209,9 +209,9 @@ module ESI
209
209
  # @raise [ESI::Errors::EveServerError] Internal error thrown from the EVE server
210
210
  #
211
211
  # @see https://esi.evetech.net/ui/#/Market/get_markets_region_id_history
212
- def get_markets_region_history(region_id:, type_id:, params: {}, headers: {})
213
- query_string = URI.encode_www_form([["type_id", type_id]])
214
- get("/markets/#{region_id}/history/?#{query_string}", headers: headers, params: params)
212
+ def get_markets_region_history(region_id:, type_id:, headers: {}, params: {})
213
+ params.merge!("type_id" => type_id)
214
+ get("/markets/#{region_id}/history/", headers: headers, params: params)
215
215
  end
216
216
  alias get_markets_region_id_history get_markets_region_history
217
217
 
@@ -223,8 +223,8 @@ module ESI
223
223
  # @esi_version legacy
224
224
  # @esi_version v1
225
225
  #
226
- # @param region_id [Integer,String] Return orders in this region
227
- # @param order_type [String] Filter buy/sell orders, return all orders by default. If you query without type_id, we always return both buy and sell orders
226
+ # @param region_id [Integer] Return orders in this region
227
+ # @param order_type [String] Filter buy/sell orders, return all orders by default. If you query without type_id, we always return both buy and sell orders. Must be one of: `buy`, `sell`, `all`
228
228
  # @param type_id [Integer] Return orders only for this type
229
229
  # @param params [Hash] Additional query string parameters
230
230
  # @param headers [Hash] Additional headers
@@ -238,9 +238,9 @@ module ESI
238
238
  # @raise [ESI::Errors::GatewayTimeoutError] Gateway timeout
239
239
  #
240
240
  # @see https://esi.evetech.net/ui/#/Market/get_markets_region_id_orders
241
- def get_markets_region_orders(region_id:, order_type:, type_id:, params: {}, headers: {})
242
- query_string = URI.encode_www_form([["order_type", order_type], ["type_id", type_id]])
243
- get("/markets/#{region_id}/orders/?#{query_string}", headers: headers, params: params)
241
+ def get_markets_region_orders(region_id:, order_type: "all", type_id: nil, headers: {}, params: {})
242
+ params.merge!("order_type" => order_type, "type_id" => type_id)
243
+ get("/markets/#{region_id}/orders/", headers: headers, params: params)
244
244
  end
245
245
  alias get_markets_region_id_orders get_markets_region_orders
246
246
 
@@ -252,7 +252,7 @@ module ESI
252
252
  # @esi_version legacy
253
253
  # @esi_version v1
254
254
  #
255
- # @param region_id [Integer,String] Return statistics in this region
255
+ # @param region_id [Integer] Return statistics in this region
256
256
  # @param params [Hash] Additional query string parameters
257
257
  # @param headers [Hash] Additional headers
258
258
  #
@@ -263,7 +263,7 @@ module ESI
263
263
  # @raise [ESI::Errors::GatewayTimeoutError] Gateway timeout
264
264
  #
265
265
  # @see https://esi.evetech.net/ui/#/Market/get_markets_region_id_types
266
- def get_markets_region_types(region_id:, params: {}, headers: {})
266
+ def get_markets_region_types(region_id:, headers: {}, params: {})
267
267
  get("/markets/#{region_id}/types/", headers: headers, params: params)
268
268
  end
269
269
  alias get_markets_region_id_types get_markets_region_types
@@ -280,7 +280,7 @@ module ESI
280
280
  # @esi_version legacy
281
281
  # @esi_version v1
282
282
  #
283
- # @param structure_id [Integer,String] Return orders in this structure
283
+ # @param structure_id [Integer] Return orders in this structure
284
284
  # @param params [Hash] Additional query string parameters
285
285
  # @param headers [Hash] Additional headers
286
286
  #
@@ -293,7 +293,7 @@ module ESI
293
293
  # @raise [ESI::Errors::GatewayTimeoutError] Gateway timeout
294
294
  #
295
295
  # @see https://esi.evetech.net/ui/#/Market/get_markets_structures_structure_id
296
- def get_markets_structure(structure_id:, params: {}, headers: {})
296
+ def get_markets_structure(structure_id:, headers: {}, params: {})
297
297
  get("/markets/structures/#{structure_id}/", headers: headers, params: params)
298
298
  end
299
299
  alias get_markets_structures_structure_id get_markets_structure
@@ -16,7 +16,7 @@ module ESI
16
16
  # @esi_version legacy
17
17
  # @esi_version v1
18
18
  #
19
- # @param character_id [Integer,String] An EVE character ID
19
+ # @param character_id [Integer] An EVE character ID
20
20
  # @param params [Hash] Additional query string parameters
21
21
  # @param headers [Hash] Additional headers
22
22
  #
@@ -29,7 +29,7 @@ module ESI
29
29
  # @raise [ESI::Errors::GatewayTimeoutError] Gateway timeout
30
30
  #
31
31
  # @see https://esi.evetech.net/ui/#/Opportunities/get_characters_character_id_opportunities
32
- def get_character_opportunities(character_id:, params: {}, headers: {})
32
+ def get_character_opportunities(character_id:, headers: {}, params: {})
33
33
  get("/characters/#{character_id}/opportunities/", headers: headers, params: params)
34
34
  end
35
35
  alias get_characters_character_id_opportunities get_character_opportunities
@@ -40,7 +40,7 @@ module ESI
40
40
  # @esi_version legacy
41
41
  # @esi_version v1
42
42
  #
43
- # @param group_id [Integer,String] ID of an opportunities group
43
+ # @param group_id [Integer] ID of an opportunities group
44
44
  # @param params [Hash] Additional query string parameters
45
45
  # @param headers [Hash] Additional headers
46
46
  #
@@ -51,7 +51,7 @@ module ESI
51
51
  # @raise [ESI::Errors::GatewayTimeoutError] Gateway timeout
52
52
  #
53
53
  # @see https://esi.evetech.net/ui/#/Opportunities/get_opportunities_groups_group_id
54
- def get_opportunities_group(group_id:, params: {}, headers: {})
54
+ def get_opportunities_group(group_id:, headers: {}, params: {})
55
55
  get("/opportunities/groups/#{group_id}/", headers: headers, params: params)
56
56
  end
57
57
  alias get_opportunities_groups_group_id get_opportunities_group
@@ -62,7 +62,7 @@ module ESI
62
62
  # @esi_version legacy
63
63
  # @esi_version v1
64
64
  #
65
- # @param task_id [Integer,String] ID of an opportunities task
65
+ # @param task_id [Integer] ID of an opportunities task
66
66
  # @param params [Hash] Additional query string parameters
67
67
  # @param headers [Hash] Additional headers
68
68
  #
@@ -73,7 +73,7 @@ module ESI
73
73
  # @raise [ESI::Errors::GatewayTimeoutError] Gateway timeout
74
74
  #
75
75
  # @see https://esi.evetech.net/ui/#/Opportunities/get_opportunities_tasks_task_id
76
- def get_opportunities_task(task_id:, params: {}, headers: {})
76
+ def get_opportunities_task(task_id:, headers: {}, params: {})
77
77
  get("/opportunities/tasks/#{task_id}/", headers: headers, params: params)
78
78
  end
79
79
  alias get_opportunities_tasks_task_id get_opportunities_task
@@ -94,7 +94,7 @@ module ESI
94
94
  # @raise [ESI::Errors::GatewayTimeoutError] Gateway timeout
95
95
  #
96
96
  # @see https://esi.evetech.net/ui/#/Opportunities/get_opportunities_groups
97
- def get_opportunity_groups(params: {}, headers: {})
97
+ def get_opportunity_groups(headers: {}, params: {})
98
98
  get("/opportunities/groups/", headers: headers, params: params)
99
99
  end
100
100
  alias get_opportunities_groups get_opportunity_groups
@@ -115,7 +115,7 @@ module ESI
115
115
  # @raise [ESI::Errors::GatewayTimeoutError] Gateway timeout
116
116
  #
117
117
  # @see https://esi.evetech.net/ui/#/Opportunities/get_opportunities_tasks
118
- def get_opportunity_tasks(params: {}, headers: {})
118
+ def get_opportunity_tasks(headers: {}, params: {})
119
119
  get("/opportunities/tasks/", headers: headers, params: params)
120
120
  end
121
121
  alias get_opportunities_tasks get_opportunity_tasks
@@ -13,8 +13,8 @@ module ESI
13
13
  # @esi_version dev
14
14
  # @esi_version v3
15
15
  #
16
- # @param character_id [Integer,String] An EVE character ID
17
- # @param planet_id [Integer,String] Planet id of the target planet
16
+ # @param character_id [Integer] An EVE character ID
17
+ # @param planet_id [Integer] Planet id of the target planet
18
18
  # @param params [Hash] Additional query string parameters
19
19
  # @param headers [Hash] Additional headers
20
20
  #
@@ -28,7 +28,7 @@ module ESI
28
28
  # @raise [ESI::Errors::GatewayTimeoutError] Gateway timeout
29
29
  #
30
30
  # @see https://esi.evetech.net/ui/#/Planetary Interaction/get_characters_character_id_planets_planet_id
31
- def get_character_planet(character_id:, planet_id:, params: {}, headers: {})
31
+ def get_character_planet(character_id:, planet_id:, headers: {}, params: {})
32
32
  get("/characters/#{character_id}/planets/#{planet_id}/", headers: headers, params: params)
33
33
  end
34
34
  alias get_characters_character_id_planets_planet_id get_character_planet
@@ -45,7 +45,7 @@ module ESI
45
45
  # @esi_version legacy
46
46
  # @esi_version v1
47
47
  #
48
- # @param character_id [Integer,String] An EVE character ID
48
+ # @param character_id [Integer] An EVE character ID
49
49
  # @param params [Hash] Additional query string parameters
50
50
  # @param headers [Hash] Additional headers
51
51
  #
@@ -58,7 +58,7 @@ module ESI
58
58
  # @raise [ESI::Errors::GatewayTimeoutError] Gateway timeout
59
59
  #
60
60
  # @see https://esi.evetech.net/ui/#/Planetary Interaction/get_characters_character_id_planets
61
- def get_character_planets(character_id:, params: {}, headers: {})
61
+ def get_character_planets(character_id:, headers: {}, params: {})
62
62
  get("/characters/#{character_id}/planets/", headers: headers, params: params)
63
63
  end
64
64
  alias get_characters_character_id_planets get_character_planets
@@ -75,7 +75,7 @@ module ESI
75
75
  # @esi_version legacy
76
76
  # @esi_version v1
77
77
  #
78
- # @param corporation_id [Integer,String] An EVE corporation ID
78
+ # @param corporation_id [Integer] An EVE corporation ID
79
79
  # @param params [Hash] Additional query string parameters
80
80
  # @param headers [Hash] Additional headers
81
81
  #
@@ -88,7 +88,7 @@ module ESI
88
88
  # @raise [ESI::Errors::GatewayTimeoutError] Gateway timeout
89
89
  #
90
90
  # @see https://esi.evetech.net/ui/#/Planetary Interaction/get_corporations_corporation_id_customs_offices
91
- def get_corporation_customs_offices(corporation_id:, params: {}, headers: {})
91
+ def get_corporation_customs_offices(corporation_id:, headers: {}, params: {})
92
92
  get("/corporations/#{corporation_id}/customs_offices/", headers: headers, params: params)
93
93
  end
94
94
  alias get_corporations_corporation_id_customs_offices get_corporation_customs_offices
@@ -101,7 +101,7 @@ module ESI
101
101
  # @esi_version legacy
102
102
  # @esi_version v1
103
103
  #
104
- # @param schematic_id [Integer,String] A PI schematic ID
104
+ # @param schematic_id [Integer] A PI schematic ID
105
105
  # @param params [Hash] Additional query string parameters
106
106
  # @param headers [Hash] Additional headers
107
107
  #
@@ -113,7 +113,7 @@ module ESI
113
113
  # @raise [ESI::Errors::GatewayTimeoutError] Gateway timeout
114
114
  #
115
115
  # @see https://esi.evetech.net/ui/#/Planetary Interaction/get_universe_schematics_schematic_id
116
- def get_universe_schematic(schematic_id:, params: {}, headers: {})
116
+ def get_universe_schematic(schematic_id:, headers: {}, params: {})
117
117
  get("/universe/schematics/#{schematic_id}/", headers: headers, params: params)
118
118
  end
119
119
  alias get_universe_schematics_schematic_id get_universe_schematic
@@ -12,11 +12,11 @@ module ESI
12
12
  # @esi_version legacy
13
13
  # @esi_version v1
14
14
  #
15
- # @param destination [Integer,String] destination solar system ID
16
- # @param origin [Integer,String] origin solar system ID
15
+ # @param destination [Integer] destination solar system ID
16
+ # @param origin [Integer] origin solar system ID
17
17
  # @param avoid [Array] avoid solar system ID(s)
18
18
  # @param connections [Array] connected solar system pairs
19
- # @param flag [String] route security preference
19
+ # @param flag [String] route security preference. Must be one of: `shortest`, `secure`, `insecure`
20
20
  # @param params [Hash] Additional query string parameters
21
21
  # @param headers [Hash] Additional headers
22
22
  #
@@ -28,9 +28,9 @@ module ESI
28
28
  # @raise [ESI::Errors::GatewayTimeoutError] Gateway timeout
29
29
  #
30
30
  # @see https://esi.evetech.net/ui/#/Routes/get_route_origin_destination
31
- def get_route_origin_destination(destination:, origin:, avoid:, connections:, flag:, params: {}, headers: {})
32
- query_string = URI.encode_www_form([["avoid", avoid], ["connections", connections], ["flag", flag]])
33
- get("/route/#{origin}/#{destination}/?#{query_string}", headers: headers, params: params)
31
+ def get_route_origin_destination(destination:, origin:, avoid: nil, connections: nil, flag: "shortest", headers: {}, params: {})
32
+ params.merge!("avoid" => avoid, "connections" => connections, "flag" => flag)
33
+ get("/route/#{origin}/#{destination}/", headers: headers, params: params)
34
34
  end
35
35
  end
36
36
  end
@@ -16,7 +16,7 @@ module ESI
16
16
  # @esi_version legacy
17
17
  # @esi_version v3
18
18
  #
19
- # @param character_id [Integer,String] An EVE character ID
19
+ # @param character_id [Integer] An EVE character ID
20
20
  # @param categories [Array] Type of entities to search for
21
21
  # @param search [String] The string to search on
22
22
  # @param strict [Boolean] Whether the search should be a strict match
@@ -32,9 +32,9 @@ module ESI
32
32
  # @raise [ESI::Errors::GatewayTimeoutError] Gateway timeout
33
33
  #
34
34
  # @see https://esi.evetech.net/ui/#/Search/get_characters_character_id_search
35
- def get_character_search(character_id:, categories:, search:, strict:, params: {}, headers: {})
36
- query_string = URI.encode_www_form([["categories", categories], ["search", search], ["strict", strict]])
37
- get("/characters/#{character_id}/search/?#{query_string}", headers: headers, params: params)
35
+ def get_character_search(character_id:, categories:, search:, strict: nil, headers: {}, params: {})
36
+ params.merge!("categories" => categories, "search" => search, "strict" => strict)
37
+ get("/characters/#{character_id}/search/", headers: headers, params: params)
38
38
  end
39
39
  alias get_characters_character_id_search get_character_search
40
40
 
@@ -59,9 +59,9 @@ module ESI
59
59
  # @raise [ESI::Errors::GatewayTimeoutError] Gateway timeout
60
60
  #
61
61
  # @see https://esi.evetech.net/ui/#/Search/get_search
62
- def get_search(categories:, search:, strict:, params: {}, headers: {})
63
- query_string = URI.encode_www_form([["categories", categories], ["search", search], ["strict", strict]])
64
- get("/search/?#{query_string}", headers: headers, params: params)
62
+ def get_search(categories:, search:, strict: nil, headers: {}, params: {})
63
+ params.merge!("categories" => categories, "search" => search, "strict" => strict)
64
+ get("/search/", headers: headers, params: params)
65
65
  end
66
66
  end
67
67
  end
@@ -16,7 +16,7 @@ module ESI
16
16
  # @esi_version legacy
17
17
  # @esi_version v1
18
18
  #
19
- # @param character_id [Integer,String] An EVE character ID
19
+ # @param character_id [Integer] An EVE character ID
20
20
  # @param params [Hash] Additional query string parameters
21
21
  # @param headers [Hash] Additional headers
22
22
  #
@@ -29,7 +29,7 @@ module ESI
29
29
  # @raise [ESI::Errors::GatewayTimeoutError] Gateway timeout
30
30
  #
31
31
  # @see https://esi.evetech.net/ui/#/Skills/get_characters_character_id_attributes
32
- def get_character_attributes(character_id:, params: {}, headers: {})
32
+ def get_character_attributes(character_id:, headers: {}, params: {})
33
33
  get("/characters/#{character_id}/attributes/", headers: headers, params: params)
34
34
  end
35
35
  alias get_characters_character_id_attributes get_character_attributes
@@ -46,7 +46,7 @@ module ESI
46
46
  # @esi_version legacy
47
47
  # @esi_version v2
48
48
  #
49
- # @param character_id [Integer,String] An EVE character ID
49
+ # @param character_id [Integer] An EVE character ID
50
50
  # @param params [Hash] Additional query string parameters
51
51
  # @param headers [Hash] Additional headers
52
52
  #
@@ -59,7 +59,7 @@ module ESI
59
59
  # @raise [ESI::Errors::GatewayTimeoutError] Gateway timeout
60
60
  #
61
61
  # @see https://esi.evetech.net/ui/#/Skills/get_characters_character_id_skillqueue
62
- def get_character_skillqueue(character_id:, params: {}, headers: {})
62
+ def get_character_skillqueue(character_id:, headers: {}, params: {})
63
63
  get("/characters/#{character_id}/skillqueue/", headers: headers, params: params)
64
64
  end
65
65
  alias get_characters_character_id_skillqueue get_character_skillqueue
@@ -75,7 +75,7 @@ module ESI
75
75
  # @esi_version dev
76
76
  # @esi_version v4
77
77
  #
78
- # @param character_id [Integer,String] An EVE character ID
78
+ # @param character_id [Integer] An EVE character ID
79
79
  # @param params [Hash] Additional query string parameters
80
80
  # @param headers [Hash] Additional headers
81
81
  #
@@ -88,7 +88,7 @@ module ESI
88
88
  # @raise [ESI::Errors::GatewayTimeoutError] Gateway timeout
89
89
  #
90
90
  # @see https://esi.evetech.net/ui/#/Skills/get_characters_character_id_skills
91
- def get_character_skills(character_id:, params: {}, headers: {})
91
+ def get_character_skills(character_id:, headers: {}, params: {})
92
92
  get("/characters/#{character_id}/skills/", headers: headers, params: params)
93
93
  end
94
94
  alias get_characters_character_id_skills get_character_skills
@@ -22,7 +22,7 @@ module ESI
22
22
  # @raise [ESI::Errors::GatewayTimeoutError] Gateway timeout
23
23
  #
24
24
  # @see https://esi.evetech.net/ui/#/Sovereignty/get_sovereignty_campaigns
25
- def get_sovereignty_campaigns(params: {}, headers: {})
25
+ def get_sovereignty_campaigns(headers: {}, params: {})
26
26
  get("/sovereignty/campaigns/", headers: headers, params: params)
27
27
  end
28
28
 
@@ -44,7 +44,7 @@ module ESI
44
44
  # @raise [ESI::Errors::GatewayTimeoutError] Gateway timeout
45
45
  #
46
46
  # @see https://esi.evetech.net/ui/#/Sovereignty/get_sovereignty_map
47
- def get_sovereignty_map(params: {}, headers: {})
47
+ def get_sovereignty_map(headers: {}, params: {})
48
48
  get("/sovereignty/map/", headers: headers, params: params)
49
49
  end
50
50
 
@@ -66,7 +66,7 @@ module ESI
66
66
  # @raise [ESI::Errors::GatewayTimeoutError] Gateway timeout
67
67
  #
68
68
  # @see https://esi.evetech.net/ui/#/Sovereignty/get_sovereignty_structures
69
- def get_sovereignty_structures(params: {}, headers: {})
69
+ def get_sovereignty_structures(headers: {}, params: {})
70
70
  get("/sovereignty/structures/", headers: headers, params: params)
71
71
  end
72
72
  end