README.md in omniauth-salesforce-1.0.2 vs README.md in omniauth-salesforce-1.0.3

- old
+ new

@@ -1,5 +1,23 @@ +# omniauth-salesforce + +[OmniAuth](https://github.com/intridea/omniauth) Strategy for [salesforce.com](salesforce.com). + +## See it in action + +[http://omniauth-salesforce-example.herokuapp.com](http://omniauth-salesforce-example.herokuapp.com) + +[Source for above app](https://github.com/richardvanhook/omniauth-salesforce-example) + ## Basic Usage -use OmniAuth::Builder do - provider :salesforce, ENV['SALESFORCE_KEY'], ENV['SALESFORCE_SECRET'] -end \ No newline at end of file + require "sinatra" + require "omniauth" + require "omniauth-salesforce" + + class MyApplication < Sinatra::Base + use Rack::Session + use OmniAuth::Builder do + provider :salesforce, ENV['SALESFORCE_KEY'], ENV['SALESFORCE_SECRET'] + end + end +