Julianus
Julianus is a gem for getting dept information from Julianus Inkasso.
Installation
Add this line to your application's Gemfile:
gem 'julianus', :git => '[email protected]:deskrock/julianus.git'
And then execute:
$ bundle
Or install it yourself as:
$ gem install julianus
Usage
To use Julianus you first have to configure it. You have to enter your username, password. Depending whether you are testing or using Julianus gem in live environment attribute 'live' must be set either false or true.
Julianus.configure(:username => "", :password => "", :live => true/false)
Next you have to make a request, for example:
report = Julianus.report("47101010033")
After making the request you can get all depts with:
report.claims
Contributing
- Fork it
- 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 new Pull Request