Billogram
A tiny Ruby wrapper for Billogram API.
Installation
$ gem install billogram
Configuration
Billogram.configure do |c|
c.api_user = '6302-nibH3Grm'
c.api_key = 'e4d1bf5fba2f6e9df97a636dd8c67d2f'
c.base_url = 'https://sandbox.billogram.com/api/v2'
end
Usage
# Get an invoice by ID
@billgoram = Billogram::Invoice.get('gQjEEZL')
Contributing
- Fork it ( https://github.com/[my-github-username]/billogram/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