wolf_core 0.2.9 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d93315b5bf36dac8a13d61db31d6d1faf173be220468760e0f4365e01481b4c1
|
4
|
+
data.tar.gz: f783133a7c30083979448d5e246417a41038cba54cdc37b7d62247f641ebde7d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 300c4bb4ebea15cd2d3fa2980e265b9625e884192a5e1bfb4e9b8b501c0598ddae83274be01aec6a953943a6f7a6ac55c19a20c02505102d6e33bac3702fda2c
|
7
|
+
data.tar.gz: 517d12bd2d0066e63f4144d7b8456aac64c786afd3ee6b05554f226cf1596266fc44bbaabef2782c253d34cbfc98febc6895b9be50fcec3e1280cdc3b3d0a440
|
@@ -43,6 +43,25 @@ module WolfCore
|
|
43
43
|
body: jobseeker
|
44
44
|
)
|
45
45
|
end
|
46
|
+
|
47
|
+
def update_jobseeker!(wolf_token:, jobseeker:, tenant:, wolf_platform_url:, error_message:, jobseeker_id:)
|
48
|
+
safe_http_put(
|
49
|
+
headers: { 'Authorization' => "Bearer #{wolf_token}" },
|
50
|
+
query: { tenant: tenant },
|
51
|
+
url: "#{wolf_platform_url}/api/v2/jobseekers/#{jobseeker_id}",
|
52
|
+
body: jobseeker,
|
53
|
+
error_message: error_message,
|
54
|
+
)
|
55
|
+
end
|
56
|
+
|
57
|
+
def update_jobseeker(wolf_token:, jobseeker:, tenant:, wolf_platform_url:, jobseeker_id:)
|
58
|
+
http_put(
|
59
|
+
headers: { 'Authorization' => "Bearer #{wolf_token}" },
|
60
|
+
query: { tenant: tenant },
|
61
|
+
url: "#{wolf_platform_url}/api/v2/jobseekers/#{jobseeker_id}",
|
62
|
+
body: jobseeker
|
63
|
+
)
|
64
|
+
end
|
46
65
|
end
|
47
66
|
end
|
48
67
|
end
|
data/lib/wolf_core/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wolf_core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Javier Roncallo
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-10-
|
11
|
+
date: 2024-10-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httparty
|