A Ruby FFI binding for the (commercial) BounceStudio API 3.7 for Linux. Designed to be compatible with the included native extension.
- FFI-supporting Ruby 1.9+ (MRI/JRuby)
- Linux
- BounceStudio API libs
Follow these installation instructions to install the C API library.
Add this line to your application's Gemfile:
gem 'bounce_studio_ffi'
And then execute:
$ bundle
Or install it yourself as:
$ gem install bounce_studio_ffi
# 64-bit lib is used by default; set ENV['BOUNCE_STUDIO_MODE'] to 32 to use 32-bit lib before requiring
require 'bounce_studio_ffi'
BS_LICENSE = "Foobar/1234567890"
bs = BoogieTools::BounceStudio.new(BS_LICENSE)
bs.check(raw_message_text)
# all functions documented at http://www.boogietools.com/Products/Linux/BounceStudioAPI/help/help.html
# are supported, e.g.
bs.subject(raw_message_text)
bs.orig_custom_header(raw_message_text, 'x-subscriber')
- 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