stackone_hris_client 1.2.0 → 1.2.1
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/Gemfile.lock +2 -2
- data/README.md +4 -4
- data/docs/Employee.md +9 -1
- data/gem-config.yml +1 -1
- data/lib/stackone_hris_client/api/connect_sessions_api.rb +1 -1
- data/lib/stackone_hris_client/models/account.rb +0 -2
- data/lib/stackone_hris_client/models/companies_paginated.rb +0 -2
- data/lib/stackone_hris_client/models/company.rb +0 -2
- data/lib/stackone_hris_client/models/company_result.rb +0 -2
- data/lib/stackone_hris_client/models/connect_session.rb +0 -2
- data/lib/stackone_hris_client/models/connect_session_authenticate.rb +0 -2
- data/lib/stackone_hris_client/models/connect_session_create.rb +0 -2
- data/lib/stackone_hris_client/models/connect_session_token.rb +0 -2
- data/lib/stackone_hris_client/models/employee.rb +42 -6
- data/lib/stackone_hris_client/models/employee_result.rb +0 -2
- data/lib/stackone_hris_client/models/employees_paginated.rb +0 -2
- data/lib/stackone_hris_client/models/employment.rb +0 -2
- data/lib/stackone_hris_client/models/employment_result.rb +0 -2
- data/lib/stackone_hris_client/models/employments_paginated.rb +0 -2
- data/lib/stackone_hris_client/models/location.rb +0 -2
- data/lib/stackone_hris_client/models/location_result.rb +0 -2
- data/lib/stackone_hris_client/models/locations_paginated.rb +0 -2
- data/lib/stackone_hris_client/version.rb +1 -1
- data/lib/stackone_hris_client.rb +1 -1
- data/spec/api/accounts_api_spec.rb +3 -3
- data/spec/api/connect_sessions_api_spec.rb +3 -3
- data/spec/api/employees_api_spec.rb +3 -3
- data/spec/models/account_spec.rb +4 -4
- data/spec/models/connect_session_authenticate_spec.rb +4 -4
- data/spec/models/connect_session_create_spec.rb +4 -4
- data/spec/models/connect_session_spec.rb +4 -4
- data/spec/models/connect_session_token_spec.rb +4 -4
- data/spec/models/employee_result_spec.rb +4 -4
- data/spec/models/employee_spec.rb +4 -4
- data/spec/models/employees_paginated_spec.rb +4 -4
- 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: 55b88dd425f0a32c6b26daaf93d226c318b77eb629d592622b2bb6d26850ae7d
|
|
4
|
+
data.tar.gz: 723d2deabbc5a0a6aa99ef35d36c4c36bcaabd8a4e1c1e70623220e16ab32e91
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 43f98f045b9fe50181c28572d60027b648cc8b52bd377cd3caffe8ec167a9142cfadc6a0377494a9d342c900fcd8fd03e33ff5f328bec7287d4c06e188f9d348
|
|
7
|
+
data.tar.gz: 9049523c053ef62d74be3afe16535bfd6f9fe00d9a632e1bc2e52b842a3674e3e82206eb8a4150b84c85d737e3771fa6005200922afb725318d41616bfba5b27
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
stackone_hris_client (1.1
|
|
4
|
+
stackone_hris_client (1.2.1)
|
|
5
5
|
typhoeus (~> 1.0, >= 1.0.1)
|
|
6
6
|
|
|
7
7
|
GEM
|
|
@@ -52,7 +52,7 @@ GEM
|
|
|
52
52
|
rubocop-ast (>= 1.26.0, < 2.0)
|
|
53
53
|
ruby-progressbar (~> 1.7)
|
|
54
54
|
unicode-display_width (>= 2.4.0, < 3.0)
|
|
55
|
-
rubocop-ast (1.
|
|
55
|
+
rubocop-ast (1.28.0)
|
|
56
56
|
parser (>= 3.2.1.0)
|
|
57
57
|
ruby-progressbar (1.13.0)
|
|
58
58
|
typhoeus (1.4.0)
|
data/README.md
CHANGED
|
@@ -7,7 +7,7 @@ The documentation for the StackOne Unified API - HRIS
|
|
|
7
7
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
|
8
8
|
|
|
9
9
|
- API version: 1.0.0
|
|
10
|
-
- Package version: 1.2.
|
|
10
|
+
- Package version: 1.2.1
|
|
11
11
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
|
12
12
|
|
|
13
13
|
## Installation
|
|
@@ -23,16 +23,16 @@ gem build stackone_hris_client.gemspec
|
|
|
23
23
|
Then either install the gem locally:
|
|
24
24
|
|
|
25
25
|
```shell
|
|
26
|
-
gem install ./stackone_hris_client-1.2.
|
|
26
|
+
gem install ./stackone_hris_client-1.2.1.gem
|
|
27
27
|
```
|
|
28
28
|
|
|
29
|
-
(for development, run `gem install --dev ./stackone_hris_client-1.2.
|
|
29
|
+
(for development, run `gem install --dev ./stackone_hris_client-1.2.1.gem` to install the development dependencies)
|
|
30
30
|
|
|
31
31
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
|
32
32
|
|
|
33
33
|
Finally add this to the Gemfile:
|
|
34
34
|
|
|
35
|
-
gem 'stackone_hris_client', '~> 1.2.
|
|
35
|
+
gem 'stackone_hris_client', '~> 1.2.1'
|
|
36
36
|
|
|
37
37
|
### Install from Git
|
|
38
38
|
|
data/docs/Employee.md
CHANGED
|
@@ -32,6 +32,10 @@
|
|
|
32
32
|
| **company_name** | **String** | | [optional] |
|
|
33
33
|
| **home_country_location** | **String** | | [optional] |
|
|
34
34
|
| **work_country_location** | **String** | | [optional] |
|
|
35
|
+
| **home_location** | **String** | | [optional] |
|
|
36
|
+
| **work_location** | **String** | | [optional] |
|
|
37
|
+
| **company** | **String** | | [optional] |
|
|
38
|
+
| **employments** | **Array<String>** | | [optional] |
|
|
35
39
|
|
|
36
40
|
## Example
|
|
37
41
|
|
|
@@ -66,7 +70,11 @@ instance = StackOneHRIS::Employee.new(
|
|
|
66
70
|
termination_date: null,
|
|
67
71
|
company_name: null,
|
|
68
72
|
home_country_location: null,
|
|
69
|
-
work_country_location: null
|
|
73
|
+
work_country_location: null,
|
|
74
|
+
home_location: null,
|
|
75
|
+
work_location: null,
|
|
76
|
+
company: null,
|
|
77
|
+
employments: null
|
|
70
78
|
)
|
|
71
79
|
```
|
|
72
80
|
|
data/gem-config.yml
CHANGED
|
@@ -53,7 +53,7 @@ module StackOneHRIS
|
|
|
53
53
|
# HTTP header 'Content-Type'
|
|
54
54
|
content_type = @api_client.select_header_content_type(['application/json'])
|
|
55
55
|
if !content_type.nil?
|
|
56
|
-
|
|
56
|
+
header_params['Content-Type'] = content_type
|
|
57
57
|
end
|
|
58
58
|
|
|
59
59
|
# form parameters
|
|
@@ -71,6 +71,14 @@ module StackOneHRIS
|
|
|
71
71
|
|
|
72
72
|
attr_accessor :work_country_location
|
|
73
73
|
|
|
74
|
+
attr_accessor :home_location
|
|
75
|
+
|
|
76
|
+
attr_accessor :work_location
|
|
77
|
+
|
|
78
|
+
attr_accessor :company
|
|
79
|
+
|
|
80
|
+
attr_accessor :employments
|
|
81
|
+
|
|
74
82
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
75
83
|
def self.attribute_map
|
|
76
84
|
{
|
|
@@ -101,7 +109,11 @@ module StackOneHRIS
|
|
|
101
109
|
:'termination_date' => :'termination_date',
|
|
102
110
|
:'company_name' => :'company_name',
|
|
103
111
|
:'home_country_location' => :'home_country_location',
|
|
104
|
-
:'work_country_location' => :'work_country_location'
|
|
112
|
+
:'work_country_location' => :'work_country_location',
|
|
113
|
+
:'home_location' => :'home_location',
|
|
114
|
+
:'work_location' => :'work_location',
|
|
115
|
+
:'company' => :'company',
|
|
116
|
+
:'employments' => :'employments'
|
|
105
117
|
}
|
|
106
118
|
end
|
|
107
119
|
|
|
@@ -140,7 +152,11 @@ module StackOneHRIS
|
|
|
140
152
|
:'termination_date' => :'Time',
|
|
141
153
|
:'company_name' => :'String',
|
|
142
154
|
:'home_country_location' => :'String',
|
|
143
|
-
:'work_country_location' => :'String'
|
|
155
|
+
:'work_country_location' => :'String',
|
|
156
|
+
:'home_location' => :'String',
|
|
157
|
+
:'work_location' => :'String',
|
|
158
|
+
:'company' => :'String',
|
|
159
|
+
:'employments' => :'Array<String>'
|
|
144
160
|
}
|
|
145
161
|
end
|
|
146
162
|
|
|
@@ -276,6 +292,24 @@ module StackOneHRIS
|
|
|
276
292
|
if attributes.key?(:'work_country_location')
|
|
277
293
|
self.work_country_location = attributes[:'work_country_location']
|
|
278
294
|
end
|
|
295
|
+
|
|
296
|
+
if attributes.key?(:'home_location')
|
|
297
|
+
self.home_location = attributes[:'home_location']
|
|
298
|
+
end
|
|
299
|
+
|
|
300
|
+
if attributes.key?(:'work_location')
|
|
301
|
+
self.work_location = attributes[:'work_location']
|
|
302
|
+
end
|
|
303
|
+
|
|
304
|
+
if attributes.key?(:'company')
|
|
305
|
+
self.company = attributes[:'company']
|
|
306
|
+
end
|
|
307
|
+
|
|
308
|
+
if attributes.key?(:'employments')
|
|
309
|
+
if (value = attributes[:'employments']).is_a?(Array)
|
|
310
|
+
self.employments = value
|
|
311
|
+
end
|
|
312
|
+
end
|
|
279
313
|
end
|
|
280
314
|
|
|
281
315
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -373,7 +407,11 @@ module StackOneHRIS
|
|
|
373
407
|
termination_date == o.termination_date &&
|
|
374
408
|
company_name == o.company_name &&
|
|
375
409
|
home_country_location == o.home_country_location &&
|
|
376
|
-
work_country_location == o.work_country_location
|
|
410
|
+
work_country_location == o.work_country_location &&
|
|
411
|
+
home_location == o.home_location &&
|
|
412
|
+
work_location == o.work_location &&
|
|
413
|
+
company == o.company &&
|
|
414
|
+
employments == o.employments
|
|
377
415
|
end
|
|
378
416
|
|
|
379
417
|
# @see the `==` method
|
|
@@ -385,7 +423,7 @@ module StackOneHRIS
|
|
|
385
423
|
# Calculates hash code according to all attributes.
|
|
386
424
|
# @return [Integer] Hash code
|
|
387
425
|
def hash
|
|
388
|
-
[id, first_name, last_name, name, display_name, gender, ethnicity, date_of_birth, birthday, marital_status, avatar_url, personal_email, personal_phone_number, work_email, work_phone_number, job_title, department, manager_id, hire_date, start_date, tenure, work_anniversary, employment_type, employment_status, termination_date, company_name, home_country_location, work_country_location].hash
|
|
426
|
+
[id, first_name, last_name, name, display_name, gender, ethnicity, date_of_birth, birthday, marital_status, avatar_url, personal_email, personal_phone_number, work_email, work_phone_number, job_title, department, manager_id, hire_date, start_date, tenure, work_anniversary, employment_type, employment_status, termination_date, company_name, home_country_location, work_country_location, home_location, work_location, company, employments].hash
|
|
389
427
|
end
|
|
390
428
|
|
|
391
429
|
# Builds the object from hash
|
|
@@ -506,7 +544,5 @@ module StackOneHRIS
|
|
|
506
544
|
value
|
|
507
545
|
end
|
|
508
546
|
end
|
|
509
|
-
|
|
510
547
|
end
|
|
511
|
-
|
|
512
548
|
end
|
data/lib/stackone_hris_client.rb
CHANGED
|
@@ -46,7 +46,7 @@ require 'stackone_hris_client/api/locations_api'
|
|
|
46
46
|
module StackOneHRIS
|
|
47
47
|
class << self
|
|
48
48
|
# Customize default settings for the SDK using block.
|
|
49
|
-
#
|
|
49
|
+
# StackOneHRIS.configure do |config|
|
|
50
50
|
# config.api_key_token = "xxx"
|
|
51
51
|
# end
|
|
52
52
|
# If no block given, return the default Configuration object.
|
|
@@ -13,13 +13,13 @@ OpenAPI Generator version: 6.4.0
|
|
|
13
13
|
require 'spec_helper'
|
|
14
14
|
require 'json'
|
|
15
15
|
|
|
16
|
-
# Unit tests for
|
|
16
|
+
# Unit tests for StackOneHRIS::AccountsApi
|
|
17
17
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
18
18
|
# Please update as you see appropriate
|
|
19
19
|
describe 'AccountsApi' do
|
|
20
20
|
before do
|
|
21
21
|
# run before each test
|
|
22
|
-
@api_instance =
|
|
22
|
+
@api_instance = StackOneHRIS::AccountsApi.new
|
|
23
23
|
end
|
|
24
24
|
|
|
25
25
|
after do
|
|
@@ -28,7 +28,7 @@ describe 'AccountsApi' do
|
|
|
28
28
|
|
|
29
29
|
describe 'test an instance of AccountsApi' do
|
|
30
30
|
it 'should create an instance of AccountsApi' do
|
|
31
|
-
expect(@api_instance).to be_instance_of(
|
|
31
|
+
expect(@api_instance).to be_instance_of(StackOneHRIS::AccountsApi)
|
|
32
32
|
end
|
|
33
33
|
end
|
|
34
34
|
|
|
@@ -13,13 +13,13 @@ OpenAPI Generator version: 6.4.0
|
|
|
13
13
|
require 'spec_helper'
|
|
14
14
|
require 'json'
|
|
15
15
|
|
|
16
|
-
# Unit tests for
|
|
16
|
+
# Unit tests for StackOneHRIS::ConnectSessionsApi
|
|
17
17
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
18
18
|
# Please update as you see appropriate
|
|
19
19
|
describe 'ConnectSessionsApi' do
|
|
20
20
|
before do
|
|
21
21
|
# run before each test
|
|
22
|
-
@api_instance =
|
|
22
|
+
@api_instance = StackOneHRIS::ConnectSessionsApi.new
|
|
23
23
|
end
|
|
24
24
|
|
|
25
25
|
after do
|
|
@@ -28,7 +28,7 @@ describe 'ConnectSessionsApi' do
|
|
|
28
28
|
|
|
29
29
|
describe 'test an instance of ConnectSessionsApi' do
|
|
30
30
|
it 'should create an instance of ConnectSessionsApi' do
|
|
31
|
-
expect(@api_instance).to be_instance_of(
|
|
31
|
+
expect(@api_instance).to be_instance_of(StackOneHRIS::ConnectSessionsApi)
|
|
32
32
|
end
|
|
33
33
|
end
|
|
34
34
|
|
|
@@ -13,13 +13,13 @@ OpenAPI Generator version: 6.4.0
|
|
|
13
13
|
require 'spec_helper'
|
|
14
14
|
require 'json'
|
|
15
15
|
|
|
16
|
-
# Unit tests for
|
|
16
|
+
# Unit tests for StackOneHRIS::EmployeesApi
|
|
17
17
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
18
18
|
# Please update as you see appropriate
|
|
19
19
|
describe 'EmployeesApi' do
|
|
20
20
|
before do
|
|
21
21
|
# run before each test
|
|
22
|
-
@api_instance =
|
|
22
|
+
@api_instance = StackOneHRIS::EmployeesApi.new
|
|
23
23
|
end
|
|
24
24
|
|
|
25
25
|
after do
|
|
@@ -28,7 +28,7 @@ describe 'EmployeesApi' do
|
|
|
28
28
|
|
|
29
29
|
describe 'test an instance of EmployeesApi' do
|
|
30
30
|
it 'should create an instance of EmployeesApi' do
|
|
31
|
-
expect(@api_instance).to be_instance_of(
|
|
31
|
+
expect(@api_instance).to be_instance_of(StackOneHRIS::EmployeesApi)
|
|
32
32
|
end
|
|
33
33
|
end
|
|
34
34
|
|
data/spec/models/account_spec.rb
CHANGED
|
@@ -14,15 +14,15 @@ require 'spec_helper'
|
|
|
14
14
|
require 'json'
|
|
15
15
|
require 'date'
|
|
16
16
|
|
|
17
|
-
# Unit tests for
|
|
17
|
+
# Unit tests for StackOneHRIS::Account
|
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
19
|
# Please update as you see appropriate
|
|
20
|
-
describe
|
|
21
|
-
let(:instance) {
|
|
20
|
+
describe StackOneHRIS::Account do
|
|
21
|
+
let(:instance) { StackOneHRIS::Account.new }
|
|
22
22
|
|
|
23
23
|
describe 'test an instance of Account' do
|
|
24
24
|
it 'should create an instance of Account' do
|
|
25
|
-
expect(instance).to be_instance_of(
|
|
25
|
+
expect(instance).to be_instance_of(StackOneHRIS::Account)
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
describe 'test attribute "id"' do
|
|
@@ -14,15 +14,15 @@ require 'spec_helper'
|
|
|
14
14
|
require 'json'
|
|
15
15
|
require 'date'
|
|
16
16
|
|
|
17
|
-
# Unit tests for
|
|
17
|
+
# Unit tests for StackOneHRIS::ConnectSessionAuthenticate
|
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
19
|
# Please update as you see appropriate
|
|
20
|
-
describe
|
|
21
|
-
let(:instance) {
|
|
20
|
+
describe StackOneHRIS::ConnectSessionAuthenticate do
|
|
21
|
+
let(:instance) { StackOneHRIS::ConnectSessionAuthenticate.new }
|
|
22
22
|
|
|
23
23
|
describe 'test an instance of ConnectSessionAuthenticate' do
|
|
24
24
|
it 'should create an instance of ConnectSessionAuthenticate' do
|
|
25
|
-
expect(instance).to be_instance_of(
|
|
25
|
+
expect(instance).to be_instance_of(StackOneHRIS::ConnectSessionAuthenticate)
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
describe 'test attribute "token"' do
|
|
@@ -14,15 +14,15 @@ require 'spec_helper'
|
|
|
14
14
|
require 'json'
|
|
15
15
|
require 'date'
|
|
16
16
|
|
|
17
|
-
# Unit tests for
|
|
17
|
+
# Unit tests for StackOneHRIS::ConnectSessionCreate
|
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
19
|
# Please update as you see appropriate
|
|
20
|
-
describe
|
|
21
|
-
let(:instance) {
|
|
20
|
+
describe StackOneHRIS::ConnectSessionCreate do
|
|
21
|
+
let(:instance) { StackOneHRIS::ConnectSessionCreate.new }
|
|
22
22
|
|
|
23
23
|
describe 'test an instance of ConnectSessionCreate' do
|
|
24
24
|
it 'should create an instance of ConnectSessionCreate' do
|
|
25
|
-
expect(instance).to be_instance_of(
|
|
25
|
+
expect(instance).to be_instance_of(StackOneHRIS::ConnectSessionCreate)
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
describe 'test attribute "categories"' do
|
|
@@ -14,15 +14,15 @@ require 'spec_helper'
|
|
|
14
14
|
require 'json'
|
|
15
15
|
require 'date'
|
|
16
16
|
|
|
17
|
-
# Unit tests for
|
|
17
|
+
# Unit tests for StackOneHRIS::ConnectSession
|
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
19
|
# Please update as you see appropriate
|
|
20
|
-
describe
|
|
21
|
-
let(:instance) {
|
|
20
|
+
describe StackOneHRIS::ConnectSession do
|
|
21
|
+
let(:instance) { StackOneHRIS::ConnectSession.new }
|
|
22
22
|
|
|
23
23
|
describe 'test an instance of ConnectSession' do
|
|
24
24
|
it 'should create an instance of ConnectSession' do
|
|
25
|
-
expect(instance).to be_instance_of(
|
|
25
|
+
expect(instance).to be_instance_of(StackOneHRIS::ConnectSession)
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
describe 'test attribute "id"' do
|
|
@@ -14,15 +14,15 @@ require 'spec_helper'
|
|
|
14
14
|
require 'json'
|
|
15
15
|
require 'date'
|
|
16
16
|
|
|
17
|
-
# Unit tests for
|
|
17
|
+
# Unit tests for StackOneHRIS::ConnectSessionToken
|
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
19
|
# Please update as you see appropriate
|
|
20
|
-
describe
|
|
21
|
-
let(:instance) {
|
|
20
|
+
describe StackOneHRIS::ConnectSessionToken do
|
|
21
|
+
let(:instance) { StackOneHRIS::ConnectSessionToken.new }
|
|
22
22
|
|
|
23
23
|
describe 'test an instance of ConnectSessionToken' do
|
|
24
24
|
it 'should create an instance of ConnectSessionToken' do
|
|
25
|
-
expect(instance).to be_instance_of(
|
|
25
|
+
expect(instance).to be_instance_of(StackOneHRIS::ConnectSessionToken)
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
describe 'test attribute "id"' do
|
|
@@ -14,15 +14,15 @@ require 'spec_helper'
|
|
|
14
14
|
require 'json'
|
|
15
15
|
require 'date'
|
|
16
16
|
|
|
17
|
-
# Unit tests for
|
|
17
|
+
# Unit tests for StackOneHRIS::EmployeeResult
|
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
19
|
# Please update as you see appropriate
|
|
20
|
-
describe
|
|
21
|
-
let(:instance) {
|
|
20
|
+
describe StackOneHRIS::EmployeeResult do
|
|
21
|
+
let(:instance) { StackOneHRIS::EmployeeResult.new }
|
|
22
22
|
|
|
23
23
|
describe 'test an instance of EmployeeResult' do
|
|
24
24
|
it 'should create an instance of EmployeeResult' do
|
|
25
|
-
expect(instance).to be_instance_of(
|
|
25
|
+
expect(instance).to be_instance_of(StackOneHRIS::EmployeeResult)
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
describe 'test attribute "data"' do
|
|
@@ -14,15 +14,15 @@ require 'spec_helper'
|
|
|
14
14
|
require 'json'
|
|
15
15
|
require 'date'
|
|
16
16
|
|
|
17
|
-
# Unit tests for
|
|
17
|
+
# Unit tests for StackOneHRIS::Employee
|
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
19
|
# Please update as you see appropriate
|
|
20
|
-
describe
|
|
21
|
-
let(:instance) {
|
|
20
|
+
describe StackOneHRIS::Employee do
|
|
21
|
+
let(:instance) { StackOneHRIS::Employee.new }
|
|
22
22
|
|
|
23
23
|
describe 'test an instance of Employee' do
|
|
24
24
|
it 'should create an instance of Employee' do
|
|
25
|
-
expect(instance).to be_instance_of(
|
|
25
|
+
expect(instance).to be_instance_of(StackOneHRIS::Employee)
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
describe 'test attribute "id"' do
|
|
@@ -14,15 +14,15 @@ require 'spec_helper'
|
|
|
14
14
|
require 'json'
|
|
15
15
|
require 'date'
|
|
16
16
|
|
|
17
|
-
# Unit tests for
|
|
17
|
+
# Unit tests for StackOneHRIS::EmployeesPaginated
|
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
19
|
# Please update as you see appropriate
|
|
20
|
-
describe
|
|
21
|
-
let(:instance) {
|
|
20
|
+
describe StackOneHRIS::EmployeesPaginated do
|
|
21
|
+
let(:instance) { StackOneHRIS::EmployeesPaginated.new }
|
|
22
22
|
|
|
23
23
|
describe 'test an instance of EmployeesPaginated' do
|
|
24
24
|
it 'should create an instance of EmployeesPaginated' do
|
|
25
|
-
expect(instance).to be_instance_of(
|
|
25
|
+
expect(instance).to be_instance_of(StackOneHRIS::EmployeesPaginated)
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
describe 'test attribute "next_page"' do
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: stackone_hris_client
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.2.
|
|
4
|
+
version: 1.2.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- StackOne
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2023-03-
|
|
11
|
+
date: 2023-03-31 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: typhoeus
|