Spartacus
Ruby toolkit for the Bloc API.
Quick start
Install via Rubygems
gem install spartacus
... or add to your Gemfile
gem "spartacus", "~> 0.1.6"
Usage
Create a new Spartacus
client using your Bloc username and password:
sc = Spartacus.new("ben@bloc.io", "gooderpassword")
Then use the client to make requests:
sc.update_checkpoint(129, {name: "New Checkpint Name"})
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Added some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
Acknowledgements
This gem is inspired by octokit