Skip to content

bodyshopbidsdotcom/shift_planning

 
 

Repository files navigation

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

Packages

No packages published

Languages

  • Ruby 100.0%