This gem interfaces with the paycom system and allows you to do common tasks against it without having to use their website.
Add this line to your application's Gemfile:
gem 'paycom'
And then execute:
$ bundle
Or install it yourself as:
$ gem install paycom
require 'paycom'
login = Paycom::Login.new 'user_name', 'password', 'ssn_last_four_digits'
# This will fill out the week vanillia style
Paycom.week_punch login, Date.today
# This will fill out next week
Paycom.week_punch login, 1.week.from_now
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request