Catalog ruby plugin (prototype)
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
spec
.gitignore
.travis.yml
Gemfile
Gemfile.lock
Jarfile
Jarfile.lock
README.md
Rakefile
VERSION
killbill-catalog-ruby-plugin.gemspec
killbill.properties
pom.xml
release.sh

README.md

killbill-catalog-ruby-plugin

Plugin to highlight the use of the CatalogPluginApi from a ruby plugin.

Release builds are available on Maven Central with coordinates org.kill-bill.billing.plugin.ruby:killbill-catalog-ruby-plugin.

Kill Bill compatibility

Plugin version Kill Bill version
0.1.y 0.16.z
0.2.y 0.18.z
0.3.y 0.20.z

Usage

You can verify Kill Bill can load up the demo Gold plan by creating a subscription:

curl -v
     -u admin:password
     -H "X-Killbill-ApiKey: bob"
     -H "X-Killbill-ApiSecret: lazar"
     -H "Content-Type: application/json"
     -H "X-Killbill-CreatedBy: demo"
     -X POST
     --data-binary '{"accountId":"486a9a5f-b896-40c0-845a-a8c042992a32","productName":"Gold","productCategory":"BASE","billingPeriod":"MONTHLY","priceList":"DEFAULT"}'
     "http://127.0.0.1:8080/1.0/kb/subscriptions"