Project

thumbs_yup

0.0
No commit activity in last 3 years
No release in over 3 years
Creates the HTML, styling, javascript and review data necessary to embed reviews in a website.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 0
>= 0
>= 0
 Project Readme

ThumbsYup

Tools for integrating with the thumbsyup.com web services.

Installation

Add this line to your application's Gemfile:

gem 'thumbs_yup'

And then execute:

$ bundle

Or install it yourself as:

$ gem install thumbs_yup

Usage

Create an initializer: config/initializers/thumbs_yup_init.rb

ThumbsYup.configure do |config|
  config.user_identifier = "your-thumbsyup-website-identifier"

  #INFO: The rest of these are defaults
  #config.thumbs_yup_url = "http://www.thumbsyup.com"
  #config.review_style = "bubble"
  #config.review_color = "blue"
  #config.review_background = "hollow"
  #config.review_size = "med"
end

Place in your template:

<%= ThumbsYup::ServerEmbed.render_public_reviews(page: params[:page]) %>

License

The gem is available as open source under the terms of the MIT License.