open_api_smart_recruiters_sdk 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +26 -2
- data/lib/smart_recruiters/api/{application_api_api.rb → application_api.rb} +12 -12
- data/lib/smart_recruiters/authorization.rb +1 -6
- data/lib/smart_recruiters/version.rb +1 -1
- data/lib/smart_recruiters.rb +2 -1
- data/open_api_smart_recruiters_sdk.gemspec +3 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 197237df4710349560b7e02b19d57d4330e94552eec9a8e7db7860d5793a8421
|
4
|
+
data.tar.gz: fdbd5b5566cd8609d0993db1c04c2e591cfc8e6e8b7fe69b7f8a2042acc83c4c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '08270e93a3ad6417f4014a3ad1eed26b6c72361271c01d3eb08daf80082fb0b6c2e67cb028632553de462825439eb1637de1e92fd8d2ef9f435ca390b59158df'
|
7
|
+
data.tar.gz: ce7ac54668aa5b6a9c8d9b36fd7548eebaaed960e898cd2cabe9351262eb1c00fe43313ddd9f3fbcd5a2d611ebe87cd9f1ff42ac318ccaa511357237d4e60f5a
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,9 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
|
4
|
+
open_api_smart_recruiters_sdk (0.2.2)
|
5
|
+
oauth2 (~> 2.0)
|
6
|
+
typhoeus (~> 1.4)
|
5
7
|
|
6
8
|
GEM
|
7
9
|
remote: https://rubygems.org/
|
@@ -10,13 +12,28 @@ GEM
|
|
10
12
|
diff-lcs (1.5.0)
|
11
13
|
ethon (0.16.0)
|
12
14
|
ffi (>= 1.15.0)
|
15
|
+
faraday (2.7.7)
|
16
|
+
faraday-net_http (>= 2.0, < 3.1)
|
17
|
+
ruby2_keywords (>= 0.0.4)
|
18
|
+
faraday-net_http (3.0.2)
|
13
19
|
ffi (1.15.5)
|
20
|
+
hashie (5.0.0)
|
14
21
|
json (2.6.3)
|
22
|
+
jwt (2.7.1)
|
23
|
+
multi_xml (0.6.0)
|
24
|
+
oauth2 (2.0.9)
|
25
|
+
faraday (>= 0.17.3, < 3.0)
|
26
|
+
jwt (>= 1.0, < 3.0)
|
27
|
+
multi_xml (~> 0.5)
|
28
|
+
rack (>= 1.2, < 4)
|
29
|
+
snaky_hash (~> 2.0)
|
30
|
+
version_gem (~> 1.1)
|
15
31
|
parallel (1.23.0)
|
16
32
|
parser (3.2.2.3)
|
17
33
|
ast (~> 2.4.1)
|
18
34
|
racc
|
19
35
|
racc (1.7.1)
|
36
|
+
rack (3.0.8)
|
20
37
|
rainbow (3.1.1)
|
21
38
|
rake (13.0.6)
|
22
39
|
regexp_parser (2.8.1)
|
@@ -47,18 +64,25 @@ GEM
|
|
47
64
|
rubocop-ast (1.29.0)
|
48
65
|
parser (>= 3.2.1.0)
|
49
66
|
ruby-progressbar (1.13.0)
|
67
|
+
ruby2_keywords (0.0.5)
|
68
|
+
snaky_hash (2.0.1)
|
69
|
+
hashie
|
70
|
+
version_gem (~> 1.1, >= 1.1.1)
|
50
71
|
typhoeus (1.4.0)
|
51
72
|
ethon (>= 0.9.0)
|
52
73
|
unicode-display_width (2.4.2)
|
74
|
+
version_gem (1.1.3)
|
53
75
|
|
54
76
|
PLATFORMS
|
55
77
|
arm64-darwin-22
|
56
78
|
|
57
79
|
DEPENDENCIES
|
80
|
+
bundler (>= 2.4.10)
|
81
|
+
oauth2 (~> 2.0)
|
82
|
+
open_api_smart_recruiters_sdk!
|
58
83
|
rake (~> 13.0)
|
59
84
|
rspec (~> 3.0)
|
60
85
|
rubocop (~> 1.21)
|
61
|
-
smart_recruiters!
|
62
86
|
typhoeus (~> 1.4)
|
63
87
|
|
64
88
|
BUNDLED WITH
|
@@ -1,5 +1,5 @@
|
|
1
1
|
module SmartRecruiters
|
2
|
-
class
|
2
|
+
class ApplicationApi
|
3
3
|
attr_accessor :api_client
|
4
4
|
|
5
5
|
def initialize(api_client = ApiClient.default)
|
@@ -22,15 +22,15 @@ module SmartRecruiters
|
|
22
22
|
# @return [Array<(ApplyApiResponse, Integer, Hash)>] ApplyApiResponse data, response status code and response headers
|
23
23
|
def create_candidate_with_http_info(body, uuid, opts = {})
|
24
24
|
if @api_client.config.debugging
|
25
|
-
@api_client.config.logger.debug 'Calling API:
|
25
|
+
@api_client.config.logger.debug 'Calling API: ApplicationApi.create_candidate ...'
|
26
26
|
end
|
27
27
|
# verify the required parameter 'body' is set
|
28
28
|
if @api_client.config.client_side_validation && body.nil?
|
29
|
-
fail ArgumentError, "Missing the required parameter 'body' when calling
|
29
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling ApplicationApi.create_candidate"
|
30
30
|
end
|
31
31
|
# verify the required parameter 'uuid' is set
|
32
32
|
if @api_client.config.client_side_validation && uuid.nil?
|
33
|
-
fail ArgumentError, "Missing the required parameter 'uuid' when calling
|
33
|
+
fail ArgumentError, "Missing the required parameter 'uuid' when calling ApplicationApi.create_candidate"
|
34
34
|
end
|
35
35
|
# resource path
|
36
36
|
local_var_path = '/postings/{uuid}/candidates'.sub('{' + 'uuid' + '}', uuid.to_s)
|
@@ -63,7 +63,7 @@ module SmartRecruiters
|
|
63
63
|
:return_type => return_type)
|
64
64
|
|
65
65
|
if @api_client.config.debugging
|
66
|
-
@api_client.config.logger.debug "API called:
|
66
|
+
@api_client.config.logger.debug "API called: ApplicationApi#create_candidate\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
67
67
|
end
|
68
68
|
return data, status_code, headers
|
69
69
|
end
|
@@ -84,15 +84,15 @@ module SmartRecruiters
|
|
84
84
|
# @return [Array<(ApplicationStatusInfo, Integer, Hash)>] ApplicationStatusInfo data, response status code and response headers
|
85
85
|
def get_application_status_with_http_info(uuid, candidate_id, opts = {})
|
86
86
|
if @api_client.config.debugging
|
87
|
-
@api_client.config.logger.debug 'Calling API:
|
87
|
+
@api_client.config.logger.debug 'Calling API: ApplicationApi.get_application_status ...'
|
88
88
|
end
|
89
89
|
# verify the required parameter 'uuid' is set
|
90
90
|
if @api_client.config.client_side_validation && uuid.nil?
|
91
|
-
fail ArgumentError, "Missing the required parameter 'uuid' when calling
|
91
|
+
fail ArgumentError, "Missing the required parameter 'uuid' when calling ApplicationApi.get_application_status"
|
92
92
|
end
|
93
93
|
# verify the required parameter 'candidate_id' is set
|
94
94
|
if @api_client.config.client_side_validation && candidate_id.nil?
|
95
|
-
fail ArgumentError, "Missing the required parameter 'candidate_id' when calling
|
95
|
+
fail ArgumentError, "Missing the required parameter 'candidate_id' when calling ApplicationApi.get_application_status"
|
96
96
|
end
|
97
97
|
# resource path
|
98
98
|
local_var_path = '/postings/{uuid}/candidates/{candidateId}/status'.sub('{' + 'uuid' + '}', uuid.to_s).sub('{' + 'candidateId' + '}', candidate_id.to_s)
|
@@ -123,7 +123,7 @@ module SmartRecruiters
|
|
123
123
|
:return_type => return_type)
|
124
124
|
|
125
125
|
if @api_client.config.debugging
|
126
|
-
@api_client.config.logger.debug "API called:
|
126
|
+
@api_client.config.logger.debug "API called: ApplicationApi#get_application_status\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
127
127
|
end
|
128
128
|
return data, status_code, headers
|
129
129
|
end
|
@@ -144,11 +144,11 @@ module SmartRecruiters
|
|
144
144
|
# @return [Array<(ApplyConfiguration, Integer, Hash)>] ApplyConfiguration data, response status code and response headers
|
145
145
|
def get_apply_configuration_for_posting_with_http_info(uuid, opts = {})
|
146
146
|
if @api_client.config.debugging
|
147
|
-
@api_client.config.logger.debug 'Calling API:
|
147
|
+
@api_client.config.logger.debug 'Calling API: ApplicationApi.get_apply_configuration_for_posting ...'
|
148
148
|
end
|
149
149
|
# verify the required parameter 'uuid' is set
|
150
150
|
if @api_client.config.client_side_validation && uuid.nil?
|
151
|
-
fail ArgumentError, "Missing the required parameter 'uuid' when calling
|
151
|
+
fail ArgumentError, "Missing the required parameter 'uuid' when calling ApplicationApi.get_apply_configuration_for_posting"
|
152
152
|
end
|
153
153
|
# resource path
|
154
154
|
local_var_path = '/postings/{uuid}/configuration'.sub('{' + 'uuid' + '}', uuid.to_s)
|
@@ -180,7 +180,7 @@ module SmartRecruiters
|
|
180
180
|
:return_type => return_type)
|
181
181
|
|
182
182
|
if @api_client.config.debugging
|
183
|
-
@api_client.config.logger.debug "API called:
|
183
|
+
@api_client.config.logger.debug "API called: ApplicationApi#get_apply_configuration_for_posting\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
184
184
|
end
|
185
185
|
return data, status_code, headers
|
186
186
|
end
|
data/lib/smart_recruiters.rb
CHANGED
@@ -3,6 +3,7 @@ require 'smart_recruiters/api_client'
|
|
3
3
|
require 'smart_recruiters/api_error'
|
4
4
|
require 'smart_recruiters/version'
|
5
5
|
require 'smart_recruiters/configuration'
|
6
|
+
require 'smart_recruiters/authorization'
|
6
7
|
|
7
8
|
# Models
|
8
9
|
require 'smart_recruiters/models/answer_record'
|
@@ -25,7 +26,7 @@ require 'smart_recruiters/models/source_details'
|
|
25
26
|
require 'smart_recruiters/models/web'
|
26
27
|
|
27
28
|
# APIs
|
28
|
-
require 'smart_recruiters/api/
|
29
|
+
require 'smart_recruiters/api/application_api'
|
29
30
|
|
30
31
|
module SmartRecruiters
|
31
32
|
class << self
|
@@ -1,6 +1,8 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
|
3
|
+
lib = File.expand_path('lib', __dir__)
|
4
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
5
|
+
require 'smart_recruiters/version'
|
4
6
|
|
5
7
|
Gem::Specification.new do |spec|
|
6
8
|
spec.name = "open_api_smart_recruiters_sdk"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: open_api_smart_recruiters_sdk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- OneNeptune
|
@@ -109,7 +109,7 @@ files:
|
|
109
109
|
- README.md
|
110
110
|
- Rakefile
|
111
111
|
- lib/smart_recruiters.rb
|
112
|
-
- lib/smart_recruiters/api/
|
112
|
+
- lib/smart_recruiters/api/application_api.rb
|
113
113
|
- lib/smart_recruiters/api/candidates_api.rb
|
114
114
|
- lib/smart_recruiters/api/configuration_api.rb
|
115
115
|
- lib/smart_recruiters/api/job_applications_api.rb
|