##A plugin to check CAS accessibility connection with heartcheck.
Add this line to your application's Gemfile:
gem 'heartcheck-cas'
And then execute:
$ bundle
Or install it yourself as:
$ gem install heartcheck-cas
You can check any CAS credentials that there's in your app.
Heartcheck.setup do |config|
config.add :cas do |c|
c.add_service({
service: 'locaweb',
username: 'username',
password: 'password',
server: 'https://path-to-cas-server/v1/tickets'
})
end
end
Check Heartcheck example here
- Fork it ( https://github.com/locaweb/heartcheck-cas )
- 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