API bindings for 4-Tell.com
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is even with TheClymb:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib
spec
.gitignore
.travis.yml
Gemfile
LICENSE.txt
README.md
Rakefile
four_tell.gemspec

README.md

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!