wolf_core 1.0.23 → 1.0.24
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
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1a5f41a88e4d5a17c5855a158c60318c7ac181f3b7ad68bc9a99501b2d41effd
|
4
|
+
data.tar.gz: '082a526b1257d59ca18c22d0d7d5f6dd256de9505b4bd9f71657069cc977f4ac'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a644e003ecd1e09d77781f85ddeeca175db7e641390d08f1899a069dd22999085d20302d81ed377dca99cb2842f5f10628270dfa208f635f6dba30c6977fff72
|
7
|
+
data.tar.gz: 27f02585960dc0c3559a00ef5e1297539532e939a36ebbb094681d8df405adf275293652c0fd8fd028f9cf4978af2cbb356a82fa58fa37c6f57e9a11ba395e9c
|
@@ -6,7 +6,7 @@ module WolfCore # rubocop:disable Style/FrozenStringLiteralComment
|
|
6
6
|
def create_company!(erecruit_token:, company:, erecruit_platform_url:, error_message:)
|
7
7
|
response = safe_http_post(
|
8
8
|
headers: { "Authorization" => "Bearer #{erecruit_token}" },
|
9
|
-
url: erecruit_platform_url
|
9
|
+
url: "#{erecruit_platform_url}/Company",
|
10
10
|
body: company,
|
11
11
|
error_message: error_message
|
12
12
|
)
|
@@ -16,7 +16,7 @@ module WolfCore # rubocop:disable Style/FrozenStringLiteralComment
|
|
16
16
|
def create_company(erecruit_token:, erecruit_platform_url:, company:)
|
17
17
|
parsed_http_post(
|
18
18
|
headers: { "Authorization" => "Bearer #{erecruit_token}" },
|
19
|
-
url: erecruit_platform_url
|
19
|
+
url: "#{erecruit_platform_url}/Company",
|
20
20
|
body: company
|
21
21
|
)
|
22
22
|
end
|
@@ -24,7 +24,7 @@ module WolfCore # rubocop:disable Style/FrozenStringLiteralComment
|
|
24
24
|
def update_company!(erecruit_token:, erecruit_platform_url:, company:, company_id:, error_message:)
|
25
25
|
response = safe_http_put(
|
26
26
|
headers: { "Authorization" => "Bearer #{erecruit_token}" },
|
27
|
-
url: "#{erecruit_platform_url}/#{company_id}",
|
27
|
+
url: "#{erecruit_platform_url}/Company/#{company_id}",
|
28
28
|
body: company,
|
29
29
|
error_message: error_message
|
30
30
|
)
|
@@ -34,7 +34,7 @@ module WolfCore # rubocop:disable Style/FrozenStringLiteralComment
|
|
34
34
|
def update_company(erecruit_token:, erecruit_platform_url:, company:, company_id:)
|
35
35
|
parsed_http_put(
|
36
36
|
headers: { "Authorization" => "Bearer #{erecruit_token}" },
|
37
|
-
url: "#{erecruit_platform_url}/#{company_id}",
|
37
|
+
url: "#{erecruit_platform_url}/Company/#{company_id}",
|
38
38
|
body: company
|
39
39
|
)
|
40
40
|
end
|
data/lib/wolf_core/version.rb
CHANGED