Shift Planning API gem
Ruby
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
test
.gitignore
.ruby-version
.travis.yml
Gemfile
LICENSE.txt
README.md
Rakefile
shift_planning.gemspec

README.md

ShiftPlanning

Ruby gem for the Shift Planning API

Status

Gem Version Build Status Code Climate

Installation

Add this line to your application's Gemfile:

gem 'shift_planning'

And then execute:

$ bundle

Or install it yourself as:

$ gem install shift_planning

Usage

ShiftPlanning.init({
  :username => 'username',
  :password => 'password',
  :key => 'api_key'
})

ShiftPlanning.skills

ShiftPlanning.employees

ShiftPlanning.employee(887992)

ShiftPlanning.add_skill(887992, 50186)

ShiftPlanning.remove_skill(887992, 50186)

Contributing

  1. Fork it ( http://github.com//ShiftPlanning/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request