paychex 0.3.1 → 0.3.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/paychex/client/companies.rb +3 -3
- data/lib/paychex/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b108a5bafb14b19e27ff229025979dfacc3cbfda66fc85d090bafe0938cfd9ac
|
4
|
+
data.tar.gz: 10a0d2572db4ad5aa98af00ca09823773cc2cde782e71ce929dc2b07f650b388
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5012a0ccd1850760585823bca158af65e653c88fac133edb5f2c077cf5a797284f7c4cc25a8874ba9e80257e84ad0d12a458f3e827d2b9803fdba7f7918f9301
|
7
|
+
data.tar.gz: 2cc60fd55900567803106581ea33a8a20f881d4f1a58d2cdeb0e062740fb9d7318bc91fc107c281100dc002b80958babd0e051c42b09c526616ab0c82a59daad
|
data/Gemfile.lock
CHANGED
@@ -36,7 +36,7 @@ module Paychex
|
|
36
36
|
|
37
37
|
def details_by_display_id(display_id)
|
38
38
|
begin
|
39
|
-
content = get("companies?
|
39
|
+
content = get("companies?displayid=#{display_id}").body.fetch('content')
|
40
40
|
company = content[0]
|
41
41
|
return {
|
42
42
|
"company": company,
|
@@ -45,12 +45,12 @@ module Paychex
|
|
45
45
|
rescue Paychex::NotFound => e
|
46
46
|
return {
|
47
47
|
"company": nil,
|
48
|
-
"message": 'not
|
48
|
+
"message": 'not-found'
|
49
49
|
}
|
50
50
|
rescue Paychex::NoAccess => e
|
51
51
|
return {
|
52
52
|
"company": nil,
|
53
|
-
"message": 'not
|
53
|
+
"message": 'not-found'
|
54
54
|
}
|
55
55
|
rescue StandardError => e
|
56
56
|
p 'Paychex Gem: Handle more errors'
|
data/lib/paychex/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: paychex
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mayank Dedhia
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-08-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -199,7 +199,7 @@ metadata:
|
|
199
199
|
homepage_uri: https://github.com/helloworld1812/paychex-ruby-gem
|
200
200
|
source_code_uri: https://github.com/helloworld1812/paychex-ruby-gem
|
201
201
|
changelog_uri: https://github.com/helloworld1812/paychex-ruby-gem/CHANGELOG.md
|
202
|
-
post_install_message:
|
202
|
+
post_install_message:
|
203
203
|
rdoc_options: []
|
204
204
|
require_paths:
|
205
205
|
- lib
|
@@ -214,8 +214,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
214
214
|
- !ruby/object:Gem::Version
|
215
215
|
version: '0'
|
216
216
|
requirements: []
|
217
|
-
rubygems_version: 3.
|
218
|
-
signing_key:
|
217
|
+
rubygems_version: 3.4.4
|
218
|
+
signing_key:
|
219
219
|
specification_version: 4
|
220
220
|
summary: Ruby wrapper for paychex.com APIs.
|
221
221
|
test_files: []
|