credid-api
The client API of credid-server
Installation
Add this to your application's shard.yml
:
dependencies:
auth-api:
github: Credid/credid-api
Usage
require "credid-api"
api = Credid::Api.new(ip: "127.0.0.1", port: 8999_u16, username: "root", passowrd: "toor")
puts api.auth!
puts api.has_access_to? "/tmp", "write" if api.success?
api.close
TODO Write usage instructions here
Development
TODO Write development instructions here
Contributing
- Fork it ( https://github.com/Credid/auth-api/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
Contributors
- Nephos Arthur Poulet - creator, maintainer