esi 0.1.17 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/esi/calls.rb +30 -0
  3. data/lib/esi/version.rb +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5868de0c83e9b580f769ab52e6af800e6a12a205
4
- data.tar.gz: e800566f8cb3abaabeb9688bb6477cfde6167ba8
3
+ metadata.gz: 04ad298f4ad97798f8b1c92dc45881c31e146333
4
+ data.tar.gz: 306c00e4824e313a5321f078bbce9ea3762df038
5
5
  SHA512:
6
- metadata.gz: 8b17ceebb1cd46554063a4bf94e41ec5a2b5cd5673d02536c584ae92ecf712b1bacedb824743da687c8618875363c6287e8a1e247d34c03fbaafbdb10a3cad75
7
- data.tar.gz: 70d591eb0f4dcb9cd305be0c520ddf794cc7a9b9c0cca331553e2c294904ff84e26292dfcd38f9455d3a1c7989359b0dd0e3e587c8d70ccc78e5161df7f6fda0
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
@@ -1,3 +1,3 @@
1
1
  module Esi
2
- VERSION = "0.1.17"
2
+ VERSION = "0.2.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: esi
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.17
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Danny Hiemstra