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

  1. Fork it ( https://github.com/[my-github-username]/billogram/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request