A simple ActiveSG client.
Add this line to your application's Gemfile:
gem 'ActiveSG'
And then execute:
$ bundle
Or install it yourself as:
$ gem install ActiveSG
client = ActiveSG.Client.new
client.username = "xxxx"
client.password = "xxxx"
client.login
client.available_slots_on 31/12/2014 289
client.book_slot xxxxxxxx
client.book_slot xxxxxxxx
client.logout
- Fork it ( https://github.com/[my-github-username]/ActiveSG/fork )
- 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 a new Pull Request