paylocity_web_service 0.1.2 → 0.1.5

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: 785d1989802a97490574f7527a260c0c3e3a1d598301421cc74630525cc4f0a4
4
- data.tar.gz: f1323abd22825eacf39dc03c3f1abc20ef2994f89b811f3295a73f2b0f5d936b
3
+ metadata.gz: b13bc282646a644fa31a73793b130888d3835a1a2cfb4680503a984692dff8a7
4
+ data.tar.gz: 79f972097465eb78320d651dcf4de69176c2ced85dc49add173b42fc00cc2514
5
5
  SHA512:
6
- metadata.gz: 7b0d6ed1aa48cbf529597a210c519916b2b2b44f38c0f82848909c404fef3cf4d6fee9aa0f5fe33779c2a499fd7d820a80906e112187a24d6d9736a543266a12
7
- data.tar.gz: 94882dbd2970de70dd7552ccc133f0ca03e8bc2d43d2be95e845dbec2796e25a136281599265ec313f1ec4927c2e592ba5b29dd72a81166ef3deca11b0e19c6f
6
+ metadata.gz: f1019e51d9a9c4c4c8191fd02fd01c999a7af501f3d03ef64ee446e314028f22b5c23b924f53508ce9194db5e98e0da4fb2ef510783a53c6d843364faa5ac7d4
7
+ data.tar.gz: 0ae1f759d98638bbafeabbdc4373c4ff3c68364f53f06a6447f59c74a3e26f93ff10c1302f10978d192aa175818b50dff0462d68f9d0a09f27894f9035163478
data/.gitignore CHANGED
@@ -7,5 +7,7 @@
7
7
  /spec/reports/
8
8
  /tmp/
9
9
 
10
+ Gemfile.lock
11
+
10
12
  # rspec failure tracking
11
13
  .rspec_status
@@ -0,0 +1,9 @@
1
+ module PaylocityWebService
2
+ class Client
3
+ module Onboardings
4
+ def onboard_employee(options={})
5
+ post("/api/v1/companies/#{company_id}/onboarding/employees", options)
6
+ end
7
+ end
8
+ end
9
+ end
@@ -5,6 +5,7 @@ require 'paylocity_web_service/error'
5
5
  require 'paylocity_web_service/client/companies'
6
6
  require 'paylocity_web_service/client/employees'
7
7
  require 'paylocity_web_service/client/credentials'
8
+ require 'paylocity_web_service/client/onboardings'
8
9
 
9
10
  module PaylocityWebService
10
11
  class Client
@@ -15,6 +16,7 @@ module PaylocityWebService
15
16
  include PaylocityWebService::Client::Employees
16
17
  include PaylocityWebService::Client::Companies
17
18
  include PaylocityWebService::Client::Credentials
19
+ include PaylocityWebService::Client::Onboardings
18
20
 
19
21
  def initialize(options={})
20
22
  options = PaylocityWebService.options.merge(options)
@@ -96,7 +96,7 @@ module PaylocityWebService
96
96
  conn.request :retry, max: 2
97
97
  conn.request :json
98
98
 
99
- conn.use PaylocityWebService::Middleware::Response::RaiseError
99
+ # conn.use PaylocityWebService::Middleware::Response::RaiseError
100
100
  conn.use FaradayMiddleware::ParseJson, :content_type => /\bjson$/
101
101
  end
102
102
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module PaylocityWebService
4
- VERSION = "0.1.2"
4
+ VERSION = "0.1.5"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: paylocity_web_service
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Lv
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-07-15 00:00:00.000000000 Z
11
+ date: 2021-11-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -64,6 +64,7 @@ files:
64
64
  - lib/paylocity_web_service/client/companies.rb
65
65
  - lib/paylocity_web_service/client/credentials.rb
66
66
  - lib/paylocity_web_service/client/employees.rb
67
+ - lib/paylocity_web_service/client/onboardings.rb
67
68
  - lib/paylocity_web_service/configuration.rb
68
69
  - lib/paylocity_web_service/connection.rb
69
70
  - lib/paylocity_web_service/encryption.rb