esi 0.1.11 → 0.1.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/esi/calls.rb +3 -3
- 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: 22b288a325e01df281cd9a15652eb6af0ec105df
|
|
4
|
+
data.tar.gz: bb9640b9a7e643662d6cdf026b1b7611c6f6d3c3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2c6be5dfcacbd17ea24f67c501809abb56cb20bda45aefec7ead0bedb083abb263898aa8c3a1147c8a05961a406724de3217d9100bc354d7e0ce9a52047dde54
|
|
7
|
+
data.tar.gz: 8ad30f6d9a1ddb6f264eb38b70f9eafa8347f8015ce51f3c1350dea1238dbbcaabb013c01f89711eb6e59c0aa4b53fb46c6a099e5dc96988eb8f93e5a72ee7b8
|
data/lib/esi/calls.rb
CHANGED
|
@@ -149,7 +149,7 @@ module Esi
|
|
|
149
149
|
self.scope = 'esi-industry.read_character_jobs.v1'
|
|
150
150
|
self.cache_duration = 300
|
|
151
151
|
|
|
152
|
-
def initialize(character_id, with_completed:
|
|
152
|
+
def initialize(character_id, with_completed: true)
|
|
153
153
|
@path = "/characters/#{character_id}/industry/jobs"
|
|
154
154
|
@params = { with_completed: with_completed }
|
|
155
155
|
end
|
|
@@ -159,8 +159,8 @@ module Esi
|
|
|
159
159
|
self.scope = 'esi-industry.read_corporation_jobs.v1'
|
|
160
160
|
self.cache_duration = 300
|
|
161
161
|
|
|
162
|
-
def initialize(
|
|
163
|
-
@path = "/corporations/#{
|
|
162
|
+
def initialize(corporation_id, with_completed: true)
|
|
163
|
+
@path = "/corporations/#{corporation_id}/industry/jobs"
|
|
164
164
|
@params = { with_completed: with_completed }
|
|
165
165
|
end
|
|
166
166
|
end
|
data/lib/esi/version.rb
CHANGED