esi 0.1.17 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/esi/calls.rb +30 -0
- data/lib/esi/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 04ad298f4ad97798f8b1c92dc45881c31e146333
|
4
|
+
data.tar.gz: 306c00e4824e313a5321f078bbce9ea3762df038
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0d45b095b85d7d8149a8b58b72c308a0c668baf4338b8fdbeb252134efece3a77cb56983c6408d90462b70798f0d8aa5a72230ed735f31170a48719a5869be1c
|
7
|
+
data.tar.gz: 497edbe294bf8e27780d59dc40d37ce2171bfa55eea5af66e9d113ede5db82d8f225a507adff0a45fcd8a4d0614b14869768bb3e9fad7605d91f6dbe20476a09
|
data/lib/esi/calls.rb
CHANGED
@@ -180,6 +180,9 @@ module Esi
|
|
180
180
|
end
|
181
181
|
end
|
182
182
|
|
183
|
+
#################################
|
184
|
+
### IndustryJobs
|
185
|
+
#################################
|
183
186
|
class CharacterIndustryJobs < Base
|
184
187
|
self.scope = 'esi-industry.read_character_jobs.v1'
|
185
188
|
self.cache_duration = 300
|
@@ -200,6 +203,9 @@ module Esi
|
|
200
203
|
end
|
201
204
|
end
|
202
205
|
|
206
|
+
#################################
|
207
|
+
### Blueprints
|
208
|
+
#################################
|
203
209
|
class CharacterBlueprints < Base
|
204
210
|
self.scope = 'esi-characters.read_blueprints.v1'
|
205
211
|
self.cache_duration = 3600
|
@@ -218,6 +224,30 @@ module Esi
|
|
218
224
|
end
|
219
225
|
end
|
220
226
|
|
227
|
+
#################################
|
228
|
+
### Assets
|
229
|
+
#################################
|
230
|
+
class CharacterAssets < Base
|
231
|
+
self.scope = 'esi-assets.read_assets.v1'
|
232
|
+
self.cache_duration = 3600
|
233
|
+
|
234
|
+
def initialize(character_id)
|
235
|
+
@path = "/characters/#{character_id}/assets"
|
236
|
+
end
|
237
|
+
end
|
238
|
+
|
239
|
+
class CorporationAssets < Base
|
240
|
+
self.scope = 'esi-assets.read_corporation_assets.v1'
|
241
|
+
self.cache_duration = 3600
|
242
|
+
|
243
|
+
def initialize(corporation_id)
|
244
|
+
@path = "/corporations/#{character_id}/assets"
|
245
|
+
end
|
246
|
+
end
|
247
|
+
|
248
|
+
#################################
|
249
|
+
### Contracts
|
250
|
+
#################################
|
221
251
|
class CharacterContracts < Base
|
222
252
|
self.scope = 'esi-contracts.read_character_contracts.v1'
|
223
253
|
self.cache_duration = 3600
|
data/lib/esi/version.rb
CHANGED