Billogram
Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file lib/billogram
. To experiment with that code, run bin/console
for an interactive prompt.
TODO: Delete this and the text above, and describe your gem
Installation
Add this line to your application's Gemfile:
gem 'billogram'
And then execute:
$ bundle
Or install it yourself as:
$ gem install billogram
Usage
First you need to configure the client
Billogram.configure do |config|
config.username = '6012-qJzHT0qU'
config.password = '55105e0460d5844274dc8f7070fc0a41'
config.base_uri = "https://sandbox.billogram.com/api/v2/"
end
Billogram::Customer.search({filter_type: :field, filter_field: :customer_no, filter_value: 1})
List of available methods: