Ruby bindings to the Clever API. Documentation
Add this line to your application's Gemfile:
gem 'clever-ruby'
And then execute:
$ bundle
Or install it yourself as:
$ gem install clever-ruby
Configure clever-ruby to use your Clever token:
Clever.configure do |config|
config.token = 'YOUR-API-TOKEN'
end
See the documentation for further details.
To run all tests:
$ rake test
To run all tests and the linter (rubocop):
$ rake
The linter follows the Ruby Style Guide with a few exceptions. To just run the linter:
$ rake lint
Running specific tests is not currently supported.
To generate it to ./doc
:
$ rake doc
To see documentation coverage:
$ rake doc-coverage
and then view doc_coverage.txt
.
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git add -p ./path/to/files; git commit -m 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request