pius / gets_satisfaction

Integrates your app with Get Satisfaction FastPass.

Home Page:http://getsatisfaction.com/developers/fastpass_ruby

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

For Rails 2.2 and above:

  1. Make sure you’ve installed one of the GetSatisfaction widgets or tabs into your site. This gem will allow uses to interact with your GetSatisfaction conversation using the account they’ve already created on your site.

  2. Add the following to your environment.rb file:

config.gem "pius-gets_satisfaction", :lib => 'gets_satisfaction', :source => 'http://gems.github.com', :version => '0.1.0'
  1. Run rake gems:install in the root of your Rails application and restart your application if necessary

  2. In your html templates, when a user is logged in, include a call to FastPass.script such as the following (which, for example, a model object named current_user): <%= FastPass.script(CONSUMER_KEY, CONSUMER_SECRET, current_user.email, current_user.name, current_user.id) %>

For other Ruby/Rails applications:

  1. Make sure you’ve installed one of the GetSatisfaction widgets or tabs into your site. This gem will allow uses to interact with your GetSatisfaction conversation using the account they’ve already created on your site.

  2. Install the gem: ‘sudo gem install gets_satisfaction’

  3. Add “require ‘gets_satisfaction’” into environment.rb or an initializer file of your choice and restart your server

  4. In your html templates, when a user is logged in, include a call to FastPass.script such as the following (which, for example, a model object named current_user):

<%= FastPass.script(CONSUMER_KEY, CONSUMER_SECRET, current_user.email, current_user.name, current_user.id) %>

About

Integrates your app with Get Satisfaction FastPass.

http://getsatisfaction.com/developers/fastpass_ruby


Languages

Language:Ruby 100.0%