FourTell

Build Status Code Climate

Ruby API bindings for the 4-Tell personalization service.

Installation

FourTell supports Ruby 2.0+. Add this line to your application's Gemfile:

gem 'four_tell'

And then execute:

$ bundle

Or install it yourself as:

$ gem install four_tell

Usage

See the documentation for more details.

require 'four_tell'
ft = FourTell.new('username', 'password', 'your_four_tell_client_alias')

# see FourTell::Request for more details
req = ft.build_request
req.customer_id = 1

# fetch a list of recommended product IDs
ft.recommendations(req)

Contributing

  1. Fork it
  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 new Pull Request

Author

Built at The Clymb by

PS: We're hiring!